Integrated Wastewater Treatment in Lignocellulosic Biorefineries