CMS-4496 Implement URL functions for Xslt. Added simple template function.