making gift.key.id match url pattern
migrating app.yaml to python 2.7
migrating main app to python 2.7