Basic copy, cut and paste commands

Add basic implementations of the copy, cut and paste commands.

It doesn't do any of the fancy stuff ST3 does, like copying the whole line if your selection is empty.