[ticket/12575] Use a proxy pattern in \phpbb\di\service_collection

Load the services referenced in a service_collection only when
they are used to avoid to load some unsuded services.

https://tracker.phpbb.com/browse/PHPBB3-12575

PHPBB3-12575
updated