Fixed yank cursor bug

- When yanking, there was a bug that made the cursor move to the very end of the yank selection, rather than moving the cursor to the beginning of the selection like vim does. After the yank, cursor now moves to start of selection.

- Also, @editor.getSelection() is deprecated, so we are now using editor.getLastSelection().
Never mind, I'm assuming that line 145 may have changed the selection so you would need to re-grab it?