Make if not exists

Change-Id: I92d80c5bc0ace56fbadcacb4d5800474962488d0
Reviewed-on: http://review.couchbase.org/42278
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>