Fix whitespace.

File was a mixture of tabs and spaces, revert to spaces.
Prevent cursor movement to save selection.

When switching from insert to temporary visual mode, the insert mode
leaving commands would move the caret. This would then result in erratic
behaviour, including resetting the selection upon a double-click.

Fixes #402.
Fix caret type when UI selection is used.

Since Vrapper isn't driving the selection, the caret type might need to
be switched depending on the direction and type of selection.

This doesn't apply for exclusive selection mode where the caret is a
simple vertical bar.