Remove deprecated stuff, Toolserverver stuff and other cruft

BaseTool:
* Remove deprecated 'simplePath' option.
* Remove unused 'localBasePath' option.

GlobalConfig:
* Remove private 'localHome' property.
* Remove obsolete 'setDbUsername' method.
* Remove obsolete 'setDbPassword' method.

GlobalFunctions:
* Remove deprecated getParam* and postParam functions.
* Remove deprecated 'kfTag' function.
* Remove obsolete 'kfConnectToolserverDB' function.
* Remove crappy functions:
  - kfEscapeHTML (use htmlspecialchars instead)

* kfDbUsername/kfDbPassword:
  - Use replica.my.cnf (which is the filename used in Tool Labs).
  - Move logic to GlobalConfig.
* kfQueryWMFAPI:
  - Use json instead of php.
  - Improve documentation.
* kfGetSvnInfo
  - Use HTTPS for mediawiki.org.