Апдейт по миграциям

* Refactoring some functions
* listing: support listing all migrations in all modules
* add setForeignKeysCheck(bool) to Migration/Adapter