Add Preferences setDefault method cont'd

Followup from https://github.com/cargomedia/CM/pull/1037
@mariansollmann fyi

Concerns:
- Public API: Integers expected for boolean values
- No docu
- No test
- Use `insert()` with `$onDuplicateKeyValues` to simplify this?