Bug 1072757 - Implement SettingsCore

let's extract the `fawm` creation and the `settings` object in a `setup` function