added .gitignore and .gitattributes 

to reduce friction in a multi os collaboration group

These files should be in all repos to reduce problems with line endings (Win vs Unix) and committing project files for a bunch of IDEs