Removed trailing whitespace.

There is *a lot* of trailing whitespace and it has been muddying commits from newer contributors.

I need to do more testing to make sure the script didn't break anything.

I think we should develop a pre-commit hook that checks for trailing whitespace and anything else.