[ticket/11700] Load namespaced classes in tests

PHPBB3-11700
[ticket/11700] Use a new style constructor for the error collector

PHPBB3-11700