MB-10160 cluster_run crashes with custom libpng

Extending the DYLD_LIBRARY_PATH to include /usr/local/lib caused the OSX
to load any library installed in /usr/local/lib to take precedence over
the normal search for libs in the path, since those do not necessary
match the library which the software was build against it causes the
startup to fail with errors like

    dyld: Symbol not found: __cg_png_create_info_struct

/usr/local/lib is included in the default search path for libraries via
DYLD_FALLBACK_LIBRARY_PATH

Change-Id: Ia65173f712ef266f8b5ddd3547916ae499469bf2
Reviewed-on: http://review.couchbase.org/33336
Reviewed-by: Sriram Melkote <siri@couchbase.com>
Tested-by: Sriram Melkote <siri@couchbase.com>
MB-10116:bp: prevent leaking of the private key to logs and diag

sanitization was not working when there is a vclock attached

This is trivial cherry-pick.

Change-Id: I222b004d895852d9b9dea0560c2dc6367ec20a35
Orig-Reviewed-on: http://review.couchbase.org/33058
Signed-off-by: Aliaksey Kandratsenka <alk@tut.by>
Reviewed-on: http://review.couchbase.org/33753
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'origin/for-rackaware' into m

* origin/for-rackaware:
  MB-10116:bp: prevent leaking of the private key to logs and diag

This is trivial and empty merge. We're merging back backport.

Change-Id: I2afb4e4a7b3e531cf4072b23134699269353a10d
use infinite timeout for takeover gen_server:call

Because 5 seconds is not always enough.

Change-Id: Id04e16c01f9afa6ca48b2a44836869419c54ad63
Reviewed-on: http://review.couchbase.org/33722
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>