Make migration process a bit more solid

We validate proposals on migration, and also give more information about the script where a crash might occur.
Even than you can return the error messages multiline within the exception message method, but you raises only a single exception.