[ticket/11479] Fix install/update (rebuild container)

Code copied from fix in 11305

PHPBB3-11479
[ticket/11479] Use phpbb_create_default_container

PHPBB3-11479
Merge pull request #1368 from EXreaction/ticket/11479

[ticket/11479] Fix install/update (rebuild container)