Added .gitattributes file to normalise line endings to LF.
Don't diff *.lock files.