Cleanup ruby mode. Fix some bugs.

smart-mode-line and abbrev-mode don't get along, apparently.