Keyboard focus: introduce first management of some keyboard shortcuts (Home, End, Escape)

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>