Mathys Johann, Fluchthelfer, Gemeinderat, Grossrat