Only use vim/vimpager for EDITOR/PAGER if they are available.
Only use gvim/mvim instead of vim when appropriate.

Basically, when they are available and when we have a display.

Fixes #2.