Move a large set of if statements to a table.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Allow unsetting a keyboard shortcut.

Also make it possible to override an existing shortcut.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Add basic tests for KeyboardShortcuts.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Merge branch 'master' into peter

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>

Conflicts:
	lib/newfol/main.py