Code + comment cleanup in mediawiki.ApiRequest.js

* Removed/updated stale comments
* Removed stale commented code
* Some code refactoring

Change-Id: I5a226605ba53df08e049e823ed01f69bbc5e525f
Merge "Code + comment cleanup in mediawiki.ApiRequest.js"