Convert to mediawiki.api dependency (better errors, it seems), use .always() for notices, other fixes
Add some *non-working* code for mw.api()-based getPageText

!todo make it work… namely, we need to either a) wait for the function
to return before continuing past var pagetext (which is dumb, because
it basically makes async useless)… or b) make getPageText return a
.promise() object? or c) something else entirely…