Migrating from http://code.google.com/p/google-app-engine-samples/source/browse/trunk/#trunk%2Fpaging; Updating to Python 2.7 and moving from DB->NDB.