Revert "LPS-50259 No need to normalize path like freemarker did, since we redo all the logic of loading a template."

This reverts commit 5c7935397e3c52fa52375442039267b1c8eaf6eb.
LPS-49793 Portlets fail to persist on layout revisions when archive/restore portlet setup configuration is used
LPS-49793 SF
LPS-50683 Fix the default range when publishing
LPS-50796 Fix StackOverflowError
LPS-50802 Break the dependency of GetterUtil on StringUti (can use GetterUtil standalone)
LPS-50802 SF
LPS-50802 Hugo, this is my temp hack. Can you put in a proper fix? Perhaps in properties?
LPS-50789 This code is not required. We should remove the whole method but since it is in the public API I am going to postpone this for now
LPS-50789 This method is never used
LPS-50789 Don't use direct references to classnames in the Upgrade process, they could change in the future
LPS-50789 This dependency is no used
LPS-50789 Remove non required dependency from the Role finder tests by using a non-real model
LPS-50789 Proper way to deal with the properties when creating the portlet bag
LPS-50789 We can safely remove this since nobody is executing this method. We should remove the whole method, but for now I am just removing the Bookmarks related code
LPS-50789 AUTOGENERATED
LPS-50789 update javadoc
LPS-50789 SF
LPS-50556 Unsafe type conversion leads to java collections error
Revert "LPS-50556 Unsafe type conversion leads to java collections error"