Move prefs migration code to their own modules. Only load when needed.

Plugins would still have their migration code in the main module. But
moving this would probably be overkill.
Use a more object oriented approach to prefs migration.
Migrate MusicIP to use new style prefs initilization
Changelog update