Remove code controlling inputMode.

inputModes have been removed, the thing is now somehow automatic:
https://bugzilla.gnome.org/show_bug.cgi?id=700735

This code was also causing a bug preventing the accessibility from working.