[feature/migrations] effectively installed check for migration data

PHPBB3-9737
[feature/migrations] Automatically populate migrations table on install

PHPBB3-9737