allow to initialize config by pulling it from another node

we also need to create duplicate set of node related keys for the node
we are copying config to in order for calls like search_node to
work correctly

Change-Id: Ie9d3ab6e3fcaf415ea203e0569178e50142f02e3
Reviewed-on: http://review.couchbase.org/41925
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
expose ns_server:get_babysitter_cookie

Change-Id: I1f272345e04ff52fee2652945988f40a8be654d9
Reviewed-on: http://review.couchbase.org/42244
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
initial implementation of couchdb node with the copy of config

no config replication yet

Change-Id: I934f5cd8e601cf1a830af9a96b060777748f1762
Reviewed-on: http://review.couchbase.org/41926
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>