A wrapper for working with IndexedDB, built with promises.