Tertiary Treatment of Livestock Wastewater in the Context of Alternative Water Resources for Sustainable Agriculture