Code hygiene for the API modules:
* swapped global $wgUser to the context-sensitive ->getUser() method
* removed getVersion() functions from all modules, because, quoth core, "since 1.21, version string is no longer supported"

Change-Id: I8655f25f3784d02075e663a49ea74cb454f0e21b