Whitespace cleanup (dos2unix, s/ $//g)

Converts the DOS line-endings to the conventional unix ones.  Also removed any other trailing whitespace.