Remove begin_edit and end_edit to add SublimeText3 support for "Use Scratch".
Support ST2 and ST3. Uses begin_edit() if available, defaults to run_command()
part chruby
refactor ruby switching