fixing missing icons/wrong image path

simply always use built-in Hudson getRootUrl() to determine image src path which
has a fallback to getRootUrlFromRequest()

another try to resolve JENKINS-15948

works when deployed in root or in /jenkins (or somewhere else) by using the configured Jenkins URL