Fixed issue #13.
Normalise line endings and include .gitattributes to prevent line ending issues in the future