Added arrow key support for selection and visual mode

https://github.com/chjj/term.js/pull/8