The Bill Gates Foundation has recently dedicated significant funds to assist in safe sanitation and the provision of proper toilets. The Foundation had given grants to eight universities around the world to address the issue of creating a hygienic toilet with the absence of proper sewerage systems. The winning team, Caltech was awarded $100,000 for the development of a working solar powered toilet that involved a solar panel that produces power for an electrochemical reactor that breaks down waste into hydrogen gas. The gas is then stored into fuel cells that can be used to as back-up energy source during the night or when there is low sunlight.
Have a read: http://in.reuters.com/article/2012/08/15/gatesfoundation-toilets-idINL2E8J8JCR20120815