Use QSettings for Qt, further abstracting of settings in core/settings

Added copyright headers to new files.