fix #564, fix #652 - improve handling of mouse-driven selections

- Clicking in visual mode/normal leaves user in normal mode.
- Shift-clicking enters visual mode.
- In both cases, xpos is updated.
Merge pull request #660 from my-personal-forks/mouse-handling

fix #564, fix #652 - improve handling of mouse-driven selections