remove trailing whitespace and newlines
Merge pull request #673 from LudwigOrtmann/whitespace

remove all trailing blank lines and all trailing whitespace