Fixed .gitignore, added .gitattributes

Added .gitignore and .gitattributes
Excluded Netbeans-Files in .gitignore