queryport: fix log messages and lint errors.

Change-Id: I927adedf0a0f34fbdf4a7aec8fd28a65a405a467
Reviewed-on: http://review.couchbase.org/44167
Reviewed-by: Manik Taneja <manik@couchbase.com>
Tested-by: Manik Taneja <manik@couchbase.com>