Add .gitignore and .gitattributes.

Remove generated files from repo.