Paste handler to convert rich text to plain text paste, fixes #5