Strip trailing whitespace; add missing newlines.
This promiscuous commit goes around touching almost every file in the repository with the intention of removing trailing whitespace and adding newlines to files missing them. Trailing whitespace has been a pain for along time, especially in terms of contributing to the project without accidentally littering commits with whitespace stripping, so this commit is long overdue. As for the newlines, well, the script I found on StackOverflow to strip trailing whitespace also happened to add missing newlines, which is something I wanted to tackle anyway, but in a different commit. It's all good though.
This commit is contained in: