Editor: bind copyText's this to the editor
Editor: saner naming in copyText
Editor: retrieve the text to be copied from data attributes

Relying on child selectors and extracting an element's text has been
troublesome because it ended up copying unwanted markup and whitespace.

Fixes #190.