A number of small fixes and cleanups for copy/cut/paste
A number of small fixes and cleanups for copy/cut/paste

Including, having the selection be removed after a copy, moving the
cursor after a paste, and having the cut/copy do the right amount of
characters

dbrodie/rex