XWIKI-10400: Make the old XWikiRenderingEngine more component oriented