Make sure keybindings work when caps lock is on. Fixes #110

Also adds documentation about how and why this works for each
different type of event.
Increase version to 1.3.2