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. 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.