Couchbase sync gateway

Resolves jira task BROOKLYN-9
I like to include a `TODO` in comments like this.
I wonder if you use `apt-get` instead of `dpkg` whether this problem would go away.