Initial userset settings implementation
Fixes for loading of preferences.

Now can load up preferences and remove particular instances
of watched documents from the settings
Merge branch 'userset_settings' into domaintool