Modeling, Feedback Control and Adaptation of Water Quality in Drinking Water Distribution Networks