Store blobs in database

This patch adds the possibility to store blobs in IndexedDB, as `ArrayBuffer`s.

- [x] Convert to `ArrayBuffer` when storing in database
- [x] Embed `Blob`'s MIME type along with the record

Be sure to check out the tests (in `tests` dir).