[feature/migrations] Make the container available to extension installer

This allows extensions to load and install migrations easily as per their
needs.

http://tracker.phpbb.com/browse/PHPBB3-11318

PHPBB3-11318