Fix broken pasting of text on Windows.

See http://trac.wxwidgets.org/ticket/15980 for the gory details.

Fixes #597.
Update Windows codesigning script.