Normalise files

Fixing up whitespace and git attributes.