Whitespace removal function and multiple two-space tab exceptions

Add a function to remove trailing whitespace at the end of lines.

Also, in addition to Ruby, configure VIM such that HTML and CSS (and related) also use two-space tabs.