MB-8881 set COUCHBASE_TOP variable for Darwin installation

Change-Id: I7682c8ea8cc9172a50440381e284d38a3f8ba671
Reviewed-on: http://review.couchbase.org/28380
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-5904 remove passwords from ns_config state

passwords were present in the state of 3 servers:
-ns_config
-ns_config_isasl_sync
-ns_config_log

could have been potentially exposed in case of the crash
of one of these servers

Change-Id: Iee8fe9ab59ac62a7da23f37e97f1745fc02bf49c
Reviewed-on: http://review.couchbase.org/28378
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>
MB-8400: only randomize nodes list for actual bucket infos

Change-Id: I0b92f8c8807a65b3918f35ac96739ec19cf06d2b
Reviewed-on: http://review.couchbase.org/28359
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8878 Adjust timeout passed to lhttpc and #httpdb.

These guys expect it in milliseconds whereas it's stored in seconds.

Change-Id: I91db37a500ff3438347139a84d1c04f819e93076
Reviewed-on: http://review.couchbase.org/28375
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8400: unbreak dialyzer-found bug

Dialyzer pointed out obvious issue in my previous commit which is
wrong order of InfoLeve and BucketName parameters.

Now it actually works.

Change-Id: I515fbd406f153ccaeb9f78213aaa6b7e24ce3d61
Reviewed-on: http://review.couchbase.org/28385
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8663: implemented just_validate for replication settings

Change-Id: I86d07e128160f49cdfc12b207162d78f62472a4f
Reviewed-on: http://review.couchbase.org/28353
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-100 Remove unused function.

Change-Id: I547e233828f4ef59e9bcbce63a8e0153a17fa555
Reviewed-on: http://review.couchbase.org/28367
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-100 Don't update rep document when nothing has changed.

Change-Id: I7389eb00e346afb668fbfe460e6eaeea40fe48fb
Reviewed-on: http://review.couchbase.org/28368
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-100 Implement just_validate for global settings too.

Change-Id: I4466f313afe745d101ad378598bd20039fce993d
Reviewed-on: http://review.couchbase.org/28369
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'origin/2.2.0'

* origin/2.2.0:
  MB-100 Implement just_validate for global settings too.
  MB-100 Don't update rep document when nothing has changed.
  MB-100 Remove unused function.
  MB-8663: implemented just_validate for replication settings
  MB-8400: unbreak dialyzer-found bug
  MB-8878 Adjust timeout passed to lhttpc and #httpdb.
  MB-8400: only randomize nodes list for actual bucket infos
  MB-5904 remove passwords from ns_config state
  MB-8881 set COUCHBASE_TOP variable for Darwin installation

Change-Id: I169fcfe6a82ed02366c6ef5874a12deb49e98604