CBD-1217:  pass CGI query object to print_HTML_Page()

Change-Id: If2e36fb1fb529006475f9ebe717545b8cf265278
Reviewed-on: http://review.couchbase.org/33273
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>