CBQE-0: Add tests related to equals with/without orderby and group by

Change-Id: Ib647c32dbf28af9dd1da25bdd7edfb5a5fa36991
Reviewed-on: http://review.couchbase.org/44551
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Parag Agarwal <agarwal.parag@gmail.com>
Tested-by: Parag Agarwal <agarwal.parag@gmail.com>