Add ndb support. Uses ndb for SessionModel and still permits encoding and decoding of db.Model objects.

Also shortens SessionModel's "kind".