[ticket/12685] New CLI container for load extensions

https://tracker.phpbb.com/browse/PHPBB3-12685

PHPBB3-12685
I think it is better to do like Symfony does and so use `$input->getOption('safe-mode')`