Expose script.baseDirFile as public property.
Add a Storage backed scriptvals store.

Refs #1798
Remove pre-1.5 migration code.
Migrate prefs values into Storage.

Fixes #1798