Allow setting config values without defaults.

Move the config initialization code into the `spf.config` package and add tests.