CBIDXT-130 : projector rebalance/failover simulation.

cleanup, refactoring and verifying node failover.

Change-Id: Ib3c4aac336e830e7cadd226302397f03b2a398e8
Reviewed-on: http://review.couchbase.org/40692
Reviewed-by: John Liang <johliang00@gmail.com>
Reviewed-by: Pratap Chakravarthy <prataprc@couchbase.com>
Tested-by: Pratap Chakravarthy <prataprc@couchbase.com>