Stick globals in mw.config instead of edit form

Use the ResourceLoaderGetConfigVars hook instead
of hidden values in the edit form.

Change-Id: Idd0e34832d023f26b52b672248fd4a44410c359a