CBQE-1531: add autofailover+query tool test

Change-Id: I3a5b7c4186e27daf9c61a1815fc0fa63b8c3eb0b
Reviewed-on: http://review.couchbase.org/29387
Reviewed-by: Ketaki Gangal <ketakigangal@gmail.com>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>