sanitize configuration values on read or write

* trims trailing or leading whitespace or newline characters from all values in ```Config```
* resolves issue #55