Feature #1685: Add states cleanup_migrate and epilog_migrate
Feature #1685: Add state failed_migration
Feature #1685: Enable resubmit from cleanup_migrate and epilog_migrate