GAE prod and dev support for datastore

Fixes #104.