Adding environment variable for editor protocol.

* Allows specifying a custom editor protocol for editing
files which have failed, etc.