Add support for sending keypresses to X11

Can be used with GStreamer's ximagesrc for testing desktop applications and websites.

- [x] Document allowed keynames
- [x] Appease Travis