[ticket/12685] New CLI container for load extensions

https://tracker.phpbb.com/browse/PHPBB3-12685

PHPBB3-12685
currently we can't dump the container for the cli due to a bug, so it's better to keep this line I think (and fix the bug in an other PR)