Onsite anaerobic digestion for power generation and natural gas/diesel displacement