CBQE-2474: rest api tests add

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