Improve EZP-23726: Speed up build / tests by not include optional extension in main composer.json

A composer.json.dist file is created for those that want full legacy
community distribution like before.
But for main distribution this is slimming down the size and the time it
takes for tests to run as these packages are anyway not covered by tests.