PEP257 on pywikibot folder part III

files: logentries, login, page, pagegenerators, textlib, throttle.
tools, version, xmlreader
Checked by hand and added some suggestions based on this change:
I910fdd7ce36752fa44b9a6654d7b8509e5020dee

Change-Id: Ic65452262d16ba2ec83633125ce1e3145a6f3aef
Merge "PEP257 on pywikibot folder part III"