[ticket/12790] Use \phpbb\db\driver\driver_interface in prune_shadow_topics

PHPBB3-12790
Merge branch 'ticket/12790' into test-profiler
[ticket/12784] Allow the extensions to add a custom auto loader

PHPBB3-12784
Merge branch 'ticket/12784' into test-profiler
Support legacy front-end