Add functions borrowed from Jim Weirich emacs setup.
Merge pull request #53 from bjoska/add_ruby_refactorings

Add functions borrowed from Jim Weirich emacs setup.