Refactored system tray settings in generalform

Also fixed this bug: The tray-icon-related check boxes were checkable after starting a new instance of qTox, even when "show system tray icon" was unchecked. (In qt, signals are not processed in the constructor).
Please merge this first, before tux3 merges https://github.com/tux3/qTox/pull/863.