LocalStorage adapter for PouchDB