Fixing #27

Rewriting the home and end key behaviour so that it copies emacs style and not the ST2 style