Off-grid Water Collection, Treatment and Use

I am looking for an entirely self-contained solution to off-grid living. 

What are the best solutions for rainwater collection and treatment, greywater treatment and reuse and the composting toilet?