Add a check for the pasteParsedInMathMode

The default functionality of paste wraps any string without enclosing
$'s in a latex text command. If `pasteParsedInMathMode` is true any
$-unwapped string will be parsed in the in Math Mode.

Todo: add tests