simplify method_for(), fixing collision with auth/_get_region_name
tighten PEP8
Added tests for the changes to MWS in #1374.
Fixed the class name. Hooray for boilerplate.
Merge branch 'mws-iter-fix' into develop