Bug 1072757 - Implement SettingsCore

let's extract the setup in a `setup` function and split in 4 tests
`custom start should be triggered`
`custom start should not be triggered if already started`
`custom stop should be triggered`
`custom stop should not be triggered if already started`