Initialize MarkLogicStore with the given `options`.

@param {Object} options
@api public
function MarkLogicStore(options) {
    options = options || {};
    var collectionName = options.collection || defaultOptions.collection;
    this.baseUri = options.baseUri || encodeURI(collectionName.replace(/\s/g,'-'));

    Store.call(this, options);

    this.collectionName = collectionName;
    this.ttl =  options.ttl || defaultOptions.ttl || 0;

    // retain the client that was passed in, or create a new client
    this.db = options.client || marklogic.createDatabaseClient(options);

  }