Allow both escaped ' and " chars in string literals

Regardless of the quote type used to represent the string literal. Fixes #1291.
Merge pull request #1293 from cleishm/string_quotes

Allow both escaped ' and " chars in string literals