edit: properly obey $VISUAL/$EDITOR, add -e arg

Signed-off-by: Christopher Larson <chris_larson@mentor.com>