SQL dump+upload to wiki via wikibot.py if -u/-p flags are given
Minor cleanup of code