Add .gitattributes to normalize line endings. Fixes BUKKIT-3797