CBQE-2483: add n1ql tests

Change-Id: I0377b469bfb2aa428cb7d6bb7dcdb2a34b641328
Reviewed-on: http://review.couchbase.org/43528
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>