pub fn parse(text: &str) -> Result<Config>
Parse the text of a configuration file.
Separate from reading one so that every rule below is testable without a filesystem.