Dan Peterson went from a military career to leading an innovative team at a highly successful municipal treatment plant in Durham, N.H.