Move cursor back on insert mode exit.

Make this consistent with vi. Really, the cursor shouldn't be able to go past the end of the line in command mode but I don't know if there is any simple way to fix this.