Misc cleanup.
Move chmod to C.
Fix sending "Home" key.

Fixes #6.
Improve key mapping.

- Handle more keys
- Use constants from synergy
- Extract keymap into its own file

Fixes #11
Map F6 -> recent apps.

Fixes #7