Special copy/paste handler for math.

If there is math in the content we're copying, use a different custom
content-type. When pasting, if the incoming data is our custom content,
insert it directly and avoid the browser sanitising it.