Fix end of line spacing

There were many files that have extra end-of-line spacings, and this makes long-term maintenance challenging.

In particular, many editors and git itself are (can be) configured to gobble up these end-of-line spaces.  I was finding that patch sets were often littered with these end-of-line space changes in addition to the actual changes in the patch.

This makes a quick sweep through the code removing those spurrious end of line changes.