Normalize line-endings

This changes CRLF to LF, removes some trailing white-space for the README.md file and adds an .editorconfig to help maintain a consistent coding style regarding white-space, line-endings, etc. for the project. Fixes #215.