Implementation of line-based selection in Vi mode.
IPython bug fixed. (Passing user_ns now.)