update list of nodes if master node is down

Change-Id: I60f235b363fc3e08bac9ce66f2a58b9fe0da33fa
Reviewed-on: http://review.couchbase.org/24695
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>