whitespace

Strips trailing whitespace and adds a trailing newline when an editor is saved.