OS X: Don't allow pasting formatted text into text controls.

Only paste as plain text, we don't preserve formatting.
Fix context menu assert with wxGTK 2.

Apparently, menu item must be appended before enabling/disabling it.
Fix possible wxEVT_TEXT infinite recursion under wxGTK.

See also 3b62a12f.