Clear visual mode after exiting Ex mode.

Fixes #661.
Normalize "could not detect encoding" errors.

Previously only showed on Emacs keymap. Now also shows when opening file at
start or when opening with Vim keymap.
Disallow saving garbage.

Requires yi-rope >=0.7.0.0.