editor_util and smarter defaults for editors

fix for #90
Merge pull request #91 from codalab/feature/editor_select

smarter/configurable defaults for editing.