War on Whitespace

This PR fixes all whitespace errors that I could find in 2.4 and also brings Git attributes up to date.