Added gitignore and gitattributes.

Not sure what they do, but they're normally there when you start a new
repo, so why take chances?