Put 'action' before 'format' on API parameters to fix app indexing

Our robots.txt whitelists API requests for action=mobileview...
but only if action=mobileview appears as the first parameter.
This is required for Google's app search indexing, which otherwise
detects we've fetched something outside robots.txt and gets confused.

Change-Id: I991bd40574e5311c6e3cd8fa646f31ccb6e420ac