converted MigrationProvider.getMigrations to return a promise, fixed tests, fixed all cli commands.
fixed bug with command hanging if the migration root had been deleted.