Allow the line ending characters to be overridden
Added a test for custom line endings
Updated the writing example to include a line ending setter
Merge pull request #64 from duncan3dc/allow-custom-line-endings

Allow custom line endings