Use vim's dumb terminal mode for task undo

On OS X my entire X11 environment is launched just for `task undo`. This is unacceptable. I propose the following preference so task undo is run under vim's dumb terminal mode when run in GUI mode.