MB-6626: use ui hostname in raw view results links
MB-6626: use ui hostname in raw view results links

So that it's useful on EC2 where we expect couchApiBase to point to
internal ip.

Change-Id: Id477a8155552308afef7d7b1794b95e3011915ce
Reviewed-on: http://review.couchbase.org/21047
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

daverigby/ns_server,mschoch/ns_server,pavel-blagodov/ns_server,vzasade/ns_server,membase/ns_server,vzasade/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,mschoch/ns_server,vzasade/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,daverigby/ns_server,ceejatec/ns_server,nimishzynga/ns_server,vzasade/ns_server,mschoch/ns_server,daverigby/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,ceejatec/ns_server,mschoch/ns_server,ceejatec/ns_server,membase/ns_server,daverigby/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,membase/ns_server,nimishzynga/ns_server,mschoch/ns_server,mschoch/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,ceejatec/ns_server,membase/ns_server