implemented ObjectStore.clear; changed ObjectStore.get to not fail when the result is 'undefined'

`.clear` is quite important when using jsindexeddb in tests, to reset the environment. The problem with `.get` I also described in #1.