CMS-3994 Use new thymeleaf libraries in sample modules.
Fixed resolving of resources for full resource key, absolute or relative paths.