[feature/migrations] Make load_migrations recursive (optionally)

PHPBB3-9737