This implements key repeats when a key is pressed and held.
The key repeating is implemented via a GHOST timer which is enabled by switching to non-blocking event processing. This in turn fixes animation issues such as https://developer.blender.org/T76720.