Enable support for Google Cloud Endpoints
Use appId instead of full root URL
Merge pull request #18 from Scarygami/cloud-endpoints-support

Enable support for Google Cloud Endpoints