code: function IDBDatabase(db, name, version, storeProperties){
          this.__db = db;
          this.__closed = false;
          this.version = version;
          this.name = name;
          this.onabort = this.onerror = this.onversionchange = null;
  
          this.__objectStores = {};
          this.objectStoreNames = new idbModules.util.StringList();
          for (var i = 0; i < storeProperties.rows.length; i++) {
              var store = new idbModules.IDBObjectStore(storeProperties.rows.item(i));
              this.__objectStores[store.name] = store;
              this.objectStoreNames.push(store.name);
          }
      }
docs: IDB Database Object
  http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface
  @constructor