* More and better i18n.
* Removed more instances of $wgTitle
* Documented plenty of functions
* Miscellaneous tweaks like s/->text()/->plain()/g to reduce reviewer anxiety.
* Coding style nitpicking.

Change-Id: Ic3a03a754f1f0289d435d5f8a5d978636ec18d6b