From dry composting toilets to wastewater recycling, the aim is to reduce water use and convert waste into renewable resources.