XWIKI-8878: Refactor wiki manager to use new LocalizationManager instead of its own customized XWikiMessageTool
XWIKI-8879: Refactor application manager to use new LocalizationManager instead of its own customized XWikiMessageTool
* fix bug