Update of the datastore to ndb

Updating the examples to use the [ndb api](https://developers.google.com/appengine/docs/python/ndb/)