Trim White Spaces

New function, and mapping, to remove trailing white spaces from a file. Because some of the files I have to deal with are disgusting.