Added bare bone of "Preferences" view.
Added GUI elements for preferences view.
Some layout fixes for the write tag options.
Preferences GUI is now fully implemented.

But until now the preferences will take no effect.
Added a enumeration for all preferences.
Refactored "Pref" to "Preference".
Fixed wrong infos on the auto reconnect prefernece.
Implemented the auto reconnect preference.
Merge branch 'preferences'