added .gitattributes file to help with line endings.
update version number to 3.1
repacked for v3.1
Merge branch 'hotfix/fix-line-endings'