function finish(e) {
        DEBUG && e && console.error(e);
        DEBUG && console.timeEnd("saveDatabase");
        that.operationInProgress = false;
        callback(e);
      }
Incrementally saves the database to IndexedDB

@example
var idbAdapter = new IncrementalIndexedDBAdapter();
var db = new loki('test', { adapter: idbAdapter });
var coll = db.addCollection('testColl');
coll.insert({test: 'val'});
db.saveDatabase();

@param {string} dbname - the name to give the serialized database
@param {function} getLokiCopy - returns copy of the Loki database
@param {function} callback - (Optional) callback passed obj.success with true or false
@memberof IncrementalIndexedDBAdapter