Refactor IndexedDB into Datastore.js and implement DB.collectionNames().  #3
Implement Cursor.count() and Collection.count().  Closes #3.