MB-8284 remove Configuration dependency from CouchNotifier

Having Configuration instance to access static variables like
CouchBucket, CouchPort, etc during resetConnection() often
causes MUTEX::acquire failure due to the reason stated below.

EINVAL The mutex was created with the protocol attribute having
the value PTHREAD_PRIO_PROTECT and the calling thread's priority
is higher than the mutex's current priority ceiling.

This failure only occurs when a thread alredy holding a higher
lock trys to access Configuration methods that require another
lower lock.

Change-Id: I79081e5d5af3b6975b3e4d306395805e5ce8c758
Reviewed-on: http://review.couchbase.org/26341
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Jin Lim <jin@couchbase.com>
MB-8214 allocate writers equal to half of total readers

Change-Id: Ia15935e8e8f753fb914125ead2800fa04a8b9570
Reviewed-on: http://review.couchbase.org/26394
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Jin Lim <jin@couchbase.com>
MB-8217: Add addrm, setrm, and delrm commands

Change-Id: Iebcc47328ba7cc5d84fe95bec0e379fef1b5b560
Reviewed-on: http://review.couchbase.org/26286
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
Do bgfetch for set with meta

Change-Id: I28fa66599c1838f787a37c36b8204172d1391a10
Do bgfetch for non-resident delMeta

Change-Id: Iebed923957770c149a03cc79116e4c687c0320f0
Add xdcr conflict resolution to ep-engine

Change-Id: I8a94432b1179511a632a03e9cb73ccba10389119