Add exitInsertMode, allow binding single keys only

This creates the command `exitInsertMode`. The command only responds to single key mappings, so that all keys except those which explicitly exit insert mode are passed to the underlying page.

This fixes #301.
`handledKeydownEvents` is undefined here