Allow 'migrations_directory' to be configured with trailing slashes.
Add ability for migrations to be tested by using YAML files.