Modular, scalable, wastewater treatment and recovery system