Whitespace changes

Convert tabs to spaces, line-endings to Unix (and add gitattributes to
keep it consistent), and add a newline to the end of each file.