OK, we're not using leveldb anymore. Begin abstraction over IDB API, add more constructor tests
Inital commit of idb-adapter