Import old settings when upgrading db from 0.9.9.2
Merge pull request #207 from aseques/upgrade_db

Import old settings when upgrading db from 0.9.9.2