XRENDERING-342: APT parser/renderer not available after installation with EM in "main" wiki

(cherry picked from commit caf2e5031fce6c4cb18e3402f9633b3851b4f152)

Conflicts:
	xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/pom.xml