Added .gitattributes file to enable EOL normalization.
Changed tests to use normalized line endings. Closes GH-19.
Changed line comment regex to handle CR+LF or LF.