CBQE-0: fix failure in tests :: rebalance and failover

1) Fix Query Failures when active resident ratio < 100 is used
2) Fix Data Loss failures since we do not check for replication before we start replication
3) cluster password change test case works for 1024 since rebalance happens slower for more vbuckets, meanwhile we can change the password. Doesn't work for 128 vbuckets
4) Removed active resident ratio tests where they duplicate per condition

Change-Id: I706742b0f7f26b3a01bc207ee7220eac6b4f17f2
Reviewed-on: http://review.couchbase.org/40677
Reviewed-by: Parag Agarwal <agarwal.parag@gmail.com>
Tested-by: Parag Agarwal <agarwal.parag@gmail.com>