Support for Home and End keys

I added bindings for Home (go to begin of line) and End (go to end of line) keys.
I tested this patch on several terminals, eg: Linux console, FreeBSD console, xterm, gnome-terminal, screen, tmux.