MB-16820: inject setDefaultBucketName instead of 'if' statement
MB-16820: inject setDefaultBucketName instead of 'if' statement

better to wait until bucket name became known

Change-Id: Ic953d996c2af246447a20c4fb95a0d51eb3c0a8f
Reviewed-on: http://review.couchbase.org/59737
Reviewed-by: Dave Finlay <7b10a9ed9f70e64c30b07607a671ae61c33f14c8@couchbase.com>
Tested-by: Dave Finlay <7b10a9ed9f70e64c30b07607a671ae61c33f14c8@couchbase.com>

membase/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server