Push data directly to clipboard on Safari (for linewise copy bug in 8)

Safari 8.0 has a bug wherein the text placed on the clipboard when copying or cutting from a TEXTAREA may include an extra newline if the text copied ends with a newline. This change works around that bug by (for Safari only) pushing data to the clipboard directly instead of relying on the browser to copy data placed into a TEXTAREA.

Did we lose some of this code (the reset and the setTimeout bit) in the refactor? Perhaps it doesn't matter but just wanted to be sure.