- remove undocumented and obsolete -dry option which is done by  global option -simulate
- replace Page.site() with Page.site like in core
- some pep8 changes

Change-Id: I58deaf2d1cd86f77c01e63080ccdd9255b42fbea
update mw version to 1.22wmf12

Change-Id: I9ceb5fa7c781171e7dc84eff871452d885035007