Fix bugs in our iOS text input implementation.

We needed to declare something as taking an interface rather than a concrete type of the same name,
and our recently fixed do-nothing implementation of the optional insertDictationResult method
was absorbing all dictation results.