Remove trailing whitespaces

Just some housekeeping here. This pull removes all trailing whitespaces.

Append `?w=1` to the github URL for a view which ignores whitespace changes (and hence easy to verify that this commit has not touched anything else)