* Fix all issues so tests pass.
* Rework deprecated functions. Compatibility is now with
MediaWiki 1.23 or later.
Change-Id: I08a0be7df48f9a39951cdc4edd4091fd4b89eade
Adds a basic .jshintrc based on the common settings from the coding
conventions page and removes unused variable mw.
Bug: 61616
Change-Id: I579f0528c3c57de46449457087f441c88229379b