Configuration migration script

Made the configuration migration script migrate_config.php more robust
and have it give some more information

Fixes #35
Merge branch 'issue#35'