[ticket/12590] Use a bootstrap file for the classes that are always used

PHPBB3-12590