Command line search should update the last search pattern

Searches from the command line weren't updating the
IVimData::LastPatternData value.  This meant commands like 'n' which
look for that value didn't work properly.

closes #1146