Prepopulation support for editor generator

Adds additional logic to the show() method of the EditorGenerator such
that the following sources are searched for input to try to prefill the
text field: selected text from the editor, active field text from the
editor, an HTML blob from the clipboard, a regular text blob from the
clipboard.