Allow removing an editor that has no editorView.editor

eg: the Settings window.

Fixes https://github.com/sindresorhus/atom-jshint/issues/39
Merge pull request #40 from sirbrillig/fix-editor-removing-errors

Allow removing an editor that has no editorView.editor