Added a convenience method.

This change is originally from pull request #682.
[FIXED JENKINS-16368]

HyperlinkNote shouldn't emit the absolute URL.