Fix configuration parser; Initial commit

- Add trim_left, trim_right
- Properly handle file lines on Unix