Fix problems with relative url root

Hi,

i tried to deploy the web-interface to a subpath /graylog2/ with the setting of application.context="/graylog2/" in graylog2-web-interface.conf. I went in some trouble with non relative request from css and js. I fixed this issues in css as well in js. Would be great if this could be merged upstream.

Cheers,
simonswine