Issue #99: generatekeyevent should send events to the system.

Sending keyboard events to the system is the best way of simulating user
interaction via keyboard. System is dispatching the evenets to the
focused application.

Sometimes focused application may not be the front most application.