CBQE-0: fix for index error in update orchestrator

Change-Id: I0b0ca546ef696b28b7f8a73de38b851b719a1f73
Reviewed-on: http://review.couchbase.org/26180
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
CBQE-1280: fix to using remote in multiple tasks

for example when using remote in both cluster task and workload task would
cause test to hang. this fixes such issue

"0" :
{
    "name" : "remote_rebalance_out_access",
        "desc" :  "remote_rebalance_out_access",
        "cluster" : [{"remote": "remote1", "rm" : "1", "add" : "1"}, {"rm" : "1", "add" : "1"}],

        "workload" : [{"spec" : "ops:0","remote" : "remote1"},

        {"spec" : "u:5,g:80,d:2,ccq:sasl1,b:saslbucket,pwd:password,ops:6000", "remote" : "remote1"},

        {"spec" : "u:5,g:70,d:2,ccq:sasl2,b:saslbucket1,pwd:password,ops:6000", "remote" : "remote1"},

        {"spec" : "u:5,g:50,d:2,ccq:sasl1,b:saslbucket,pwd:password,ops:10000"},
        {"spec" : "s:10,u:5,g:50,d:2,ccq:sasl2,b:saslbucket1,pwd:password,ops:10000"}],
        "cluster" : {"remote": "remote1", "rm" : "1"},

        "runtime" : 600
},

Change-Id: I2b34b4bbb0c38387ec86e7c255f5322880cff05c
Reviewed-on: http://review.couchbase.org/26203
Reviewed-by: Chisheng Hong <chisheng@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>
CBQE-1281: support for xdcr query in systest

to specify queries to be ran on both local/remote site within same phase..ie
                 "query" : [{"remote" : "remote1" , "spec" : "ddoc:ddoc1,view:view1,qps:200"},
                             "{"spec" : ddoc:ddoc1,view:view1,qps:200"}]

Change-Id: Ie035e919668dc2f47bac20ef095e28f2f058ac21
Reviewed-on: http://review.couchbase.org/26205
Reviewed-by: Chisheng Hong <chisheng@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>