Added support for escaping quotes in strings automatically.

strings are to be formatted within quotes ('{0}' format)
will search for ' in the string and replace with \'