fn warn_unknown_key(config: &Config) -> Result
iterates over all the catchall keys (unknown config options) and warns or errors if there are any.