code clean-up:

- replace "pywikibot.config." with "config."
- remove obsolete "return None"

Change-Id: I3ae79965360f2f4bef4f1a77111d8c5c573db982
Merge "code clean-up:"