Clone of the original Migrator.NET code to bring it up to date and fix a few minor issues.