code cleanup:

- import config from pywikibot as usual
- remove obsolete constructor method
- single return does implicit return None

Change-Id: I3c2783ddcb1c61297b82d20c2804961da2d849ca
Merge "code cleanup:"