function saveCallback(result) {
        if (result && result.success === true) {
          callback(null);
        }
        else {
          callback(new Error("Error saving database"));
        }
      }
Saves a serialized db to the catalog.

@example
// SAVE : will save App/Key/Val as 'finance'/'test'/{serializedDb}
var idbAdapter = new LokiIndexedAdapter('finance');
var db = new loki('test', { adapter: idbAdapter });
var coll = db.addCollection('testColl');
coll.insert({test: 'val'});
db.saveDatabase();  // could pass callback if needed for async complete

@param {string} dbname - the name to give the serialized database within the catalog.
@param {string} dbstring - the serialized db string to save.
@param {function} callback - (Optional) callback passed obj.success with true or false
@memberof LokiIndexedAdapter