Ruby 1.8.x support and editor detection enhancements

Thank you for this tool. It is exactly what I needed. This pull request adds support to ruby 1.8.x (`Dir.home` does not exist) and adds some enhancements on how it verifies the editor exists on *nix like systems. You may want to consider a minor version bump if you merge this in.

Thanks!