CBQE-0: uupdate rest api n1ql syntax

Change-Id: Ifb5bf3bb1b32dc55fa72af8c2ce9b4d38b9d947a
Reviewed-on: http://review.couchbase.org/42524
Reviewed-by: Ketaki Gangal <ketakigangal@gmail.com>
Tested-by: buildbot <build@couchbase.com>