ns_couchdb_api will not retry in case of badrpc error

Change-Id: Ic7c52d49d5a1c04101654119f5f7d32abdb35748
Reviewed-on: http://review.couchbase.org/42817
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
properly restart ssl services on both nodes when needed

Change-Id: Ic56cca34a8cb3ead8a80b1b84f67d725b9e49064
Reviewed-on: http://review.couchbase.org/42818
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
properly restart ns_server_cluster_sup when setting data path

restarting the whole ns_couchdb node is too slow, so just restart
couch_app on it

Change-Id: I2366ffc5dad242b41c49d9933fbdb8c724271535
Reviewed-on: http://review.couchbase.org/42879
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
log bucket directory deletion failures in ns_server

Because ns_couchdb doesn't even have ns_log logger defined (for good
reasons).

Otherwise deleting memcached bucket crashes ns_memcached.

Change-Id: I9a1c3ea899c5bcb7253d2d4467ee95d4884ee08a
Reviewed-on: http://review.couchbase.org/43110
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>