Disable NSTextView substitutions.

Substitutions like smart quotes mangle both typed and pasted grammars,
causing the app to crash on what would otherwise be valid input.
Merge commit '4a835733e6c7825b049dc28f55a95f7a980f8274' into matrix-dev