Fix inconsistency in line endings

According to the coding conventions at https://github.com/Bukkit/CraftBukkit/blob/master/README.md , only LF (Unix-style) line endings should be used, no CRLF.

However, there is one file with CRLF line endings. This PR fixes that, and also adds .gitattributes to force LF line endings on all text files.