Waste tratement and recycling integrated systems with electric power production and materials recovery