A simple resource for talking with Google App Engine Cloud endpoints, using promises