Refactor: only reference IGrepTarget from GrepView.

Explicit references to text editors have been removed, so that
the grep view can also operate on other editor types.
Mainly a preparation to support grep in the upcoming LargeFileEditor.