Add naive implementation for ShadowInputMethodManager.toggleSoftInput()

Closes #951.