Model KeyBinding with a case class.

Note to self: tuples are OK for internals, to be avoided in public APIs.