Example program to exercise queryport.

Change-Id: I31a829f66365618d13fc3d96fbc52c1fd205210a
Reviewed-on: http://review.couchbase.org/41217
Reviewed-by: Deepkaran Salooja <deepkaran.couchbase@gmail.com>
Reviewed-by: Pratap Chakravarthy <prataprc@couchbase.com>
Tested-by: Pratap Chakravarthy <prataprc@couchbase.com>