a backbone.sync adapter using indexeddb as a datastore