Couchbase Server

Finalize doc editing API and implementation