GRAILS-11333: Handle already absolute URLs

When a "uri" is provided to the link method and the "absolute" parameter is true, check if the provided uri is already absolute before trying to make it absolute.

I've incorporated the feedback from grails/grails-core/pull/490 which was to use a regular expression instead of java.net.URI to improve performance.