Generate couchbase buckets for sync gateways

cbugg: close bug-737