Disturbance-Performance-Diversity Relationships and Microbial Ecology in Bioreactors for Wastewater Treatment