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

needs testing but submitted for early review
oops yes, meant to call it `numRetries` :)