Removing trailing whitespace from markdown files

I know this is probably quite picky, however removing trailing whitespace
gives a much cleaner "feel" to a document when one is editing it.

Comments most certainly welcome.