Enable support for Google Cloud Endpoints

Reference: https://developers.google.com/appengine/docs/python/endpoints/consume_js
Good point, this will work since cloud endpoints don't support custom domains, so the URL format is fixed anyway.