Improved key bindings.
Parsing of keys and key bindings refactored.
More unittests for key bindings.