Fix possible recursiob in TemplateManager::getExtensions()
Refactor Web\UrlManager (getCanonicalByDocument, getByFunction)

Refactor \Rbs\Website\Documents\Website::getUrlManager()
Merge pull request #1005 from inthause/documents

Refactor Web\UrlManager (getCanonicalByDocument, getByFunction)