switch from defining global constants to internal config variables. should fix https://github.com/kalebheitzman/mediawikibot/issues/2