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

https://tracker.phpbb.com/browse/PHPBB3-12590

PHPBB3-12590