add support for configuring couchbase XDCR (replication) and bump to v3.0

needs testing but submitted for early review
I'm not clear why we were previously not adding the primary node. Was that happening somewhere else?
@ZaidM can you comment?