Fixing hasItem (IndexedDb)

- Makes sure that null is a valid data store value
- Adding tests for hasItem
Merge pull request #6 from joseeight/tests

Fixing hasItem (IndexedDb)