[ticket/11822] Use namespace lookup order for asset loading

PHPBB3-11822
Merge pull request #1690 from EXreaction/ticket/11822

[ticket/11822] Use namespace lookup order for asset loading