constructor(options) {
    options = options || {};

    this.id = options.id;
    this.name = options.name; //TODO: validate name doesn't contain spaces
    this.host = options.host;
    this.port = options.port;
    this.auth = options.auth;
    this.connection = options.connection;

    this.collections = [];

    if (mongoUtils.isLocalHost(this.host)) {
      this._dbConnection = new MongoDb(this.name, new MongoServer(this.host, this.port));
    } else {
      this._dbConnection = null; //this is set by the parent connection once we've connect to it
    }
  }
@param {Object} options
@param {String} options.name - name of the database
@param {String} options.host - host of the database, defaults to localhost
@param {String} options.port - port of the database, defaults to 27017
@param {Object} options.auth - database auth info
@param {String} options.auth.username - database auth username
@param {String} options.auth.password - database auth password