[ticket/11880] Break up schema changes in the migrator

PHPBB3-11880
[ticket/11880] Move get_schema_steps function to a migrator helper class

PHPBB3-11880
[ticket/11880] migration helper file

PHPBB3-11880
Merge pull request #1995 from EXreaction/ticket/11880

Schema changes can take too long and cause a timeout