Hack: Add hack so modules that use mw.Api can work on mobile in limited form

To give an example:
https://gerrit.wikimedia.org/r/#/c/97852/
adds captcha refresh functionality to mobile.
It expects mw.Api but uses it in the same way as the api
we provide.

Change-Id: I4c92422428de60d2e11ba891fe44dbf43ad99c43
Merge "Hack: Add hack so modules that use mw.Api can work on mobile in limited form"