Convert preferences to use IPreferenceStore
Merge pull request #2 from dirk-olmes/preferences

Convert preferences to use IPreferenceStore
Normalized indentation style to "4-spaces"