rpc api of ns_couchdb node

contains almost everything (with the exception of compaction_api)
that ns_server node calls on ns_couchdb node

in this commit it still calls ns_server node, because underlining
services are not moved to ns_couchdb node yet

Change-Id: Ica9dfc5cc88561bf939786bfe1fc9085d2f83edd
Reviewed-on: http://review.couchbase.org/41939
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
facility for collecting stats on ns_couchdb node

Change-Id: I90d77dddb078aad37b927dda2444604d86570423
Reviewed-on: http://review.couchbase.org/42150
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
fix race in capi_set_view_manager when views can potentially be

...started before the bucket engine is available in memcached

Change-Id: I531124a36ce39f317eb235941bc2f5bc54de75db
Reviewed-on: http://review.couchbase.org/42250
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
move all couchdb related services to ns_couchdb node

Change-Id: I1daf53f3e7e754b3b8c3179f6c351c2b9e78f0a1
Reviewed-on: http://review.couchbase.org/41940
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
do not slow down ns_heart during the ns_couchdb node start

Change-Id: I804b200986c162720e54035644d5129c6c2c47ee
Reviewed-on: http://review.couchbase.org/41941
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
add ns_couchdb.log to the results of cbcollect_info

Change-Id: Ib408db9597a0cba8207279f26900051ecf6e127a
Reviewed-on: http://review.couchbase.org/42367
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
add ns_couchdb node processes to diag

Change-Id: I308c5165096dede831c63772e7c3e2931c305611
Reviewed-on: http://review.couchbase.org/42368
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
add ns_couchdb node ets_tables to diag

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