add support for cut/paste events

A short delay (currently 50ms) is required after the paste event for the
pasted text to enter the textbox.  Then we can trigger a `keyup` event as if
that copy had just been typed into the box manually.