Resource Recovery from Waste: A Matter of Quantity and Quality