Saves the database

@param callback
@async
function(callback) {
      log.debug("saving resource manager database");
      return qx.tool.compiler.utils.Json.saveJsonAsync(this.__dbFilename, this.__db);
    }