Copied larstvei's dot emacs.

Added remove trailing whitespace before save hook.