Rewrite config system

Added IConfig interface and 3 implementions: Config (file based config),
SyncedConfig (synchronizing settings to clients) and PriorityConfig
(allows using multiple configs as one). TweakSeting was removed.