App Engine Support

This is an alternate approach to supporting App Engine based on #38. This attempts to discover if it is run on the App Engine and adjusts the query to work around the restriction. While it opens up a minor edge case for App Engine users is seems like this change is simple enough to include without hurting anyone.

Any thoughts @seguri?