Add .gitignore and .gitattributes

* **.gitignore**:
  Ignores temp files & build output
* **.gitattributes**:
  Provides proper line ending handling across multiple platforms.