NXP-11045: make restDocumentLink able to generate link with only a 'repositoryName' attribute instead of a document.

Add more functions to DocumentModelFunctions to generate URLs for a repository name.