Added .gitattributes and .checkstyle rule to .gitingore

Forgot to initially do this in master branch, so manually doing it for
attempt-2 branch