CBIDXT-229: DP4 integration with cbq-bridge.

- Using HTTP Rest API used with DP3.
- moved client side code to queryport.

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