Edge case has a value that contains an inline symbol such as `;` or `#`.
Currently parsing a value such as:
```
value = val#ue
```
would result into just `val` if `IgnoreInlineComment` is false.
If `IgnoreInlineComment` is true it would result into the full value, but it's incorrect to depend on this.
With the fix value would be parsed as `val#ue`.
* unit test to isolate the problem
* the error is not related to the comment, but simply that the key does not get sanitized...
* this fixes the \n issue, but highlights an error in the Writer
* correcting as well the WriteTo function
* unnecessary comment
* rebase and fix of the import
* Added support for unparseable sections.
* Add write support for unparseable sections.
* Slightly changed test files to make test results clearer with tools/platforms that handle whitespace differently.
I have a config.ini where section names can contain "]", which leads to parse
errors. While proper support for quoting would be best (issue #32) simply
matching the last "]" rather than the first helps in this case.