Migrated the sample Google App Engine project to python 2.7

Followed the guide:

https://developers.google.com/appengine/docs/python/python25/migrate27