#55567Remove not needed TemplateService code
Description
The TemplateService class provides its own wrap()
function which is exactly the same as in cObj.
The MenuContentObjects are now using the cObj
function so the duplicate code in TemplateService
can be deprecated.
Also, some super-old constants that are not used
anywhere are removed as well.