[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.

PHPBB3-12575