Forward key event

Implement iBus' forward key event functionality needed by some engines (esp. [ibus-bogo](https://github.com/BoGoEngine/ibus-bogo-python)).

Also, try to commit characters unhandled by iBus engine.