CBQE-0: first check replication and then check persistance

Change-Id: If80432c32a3c0cea4dbf8d1bd6870441b0eafb11
Reviewed-on: http://review.couchbase.org/37112
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Parag Agarwal <agarwal.parag@gmail.com>
Tested-by: Parag Agarwal <agarwal.parag@gmail.com>