Couchbase sync gateway

Resolves jira task BROOKLYN-9
Do we also need `.onFailureOrException(Functions.constant(false)))`? I'm not sure off-hand.