Added .gitattributes and .gitignore

Because working with images causes painful stuff to happen.