Convert CRLF to LF and add EditorConfig

Just a conversion of Windows CRLFs to cross-platform linefeeds and an [.editorconfig file](http://editorconfig.org/) for same code style