Biogas upgrading and liquefaction in an anaerobic digester plant