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

PHPBB3-11880