Adapting code for working with GAE 1.7.3 and later
Merge pull request #18 from pyriku/gae-1.7.3

Adapting code for working with GAE 1.7.3 and later