[pegjs] quotes can appear in character classes

when they do so, they don't indicate the start of a string.

[closes #1977]

This fix is a lot simpler than #1981 in my opinion.  Rather than relying on precedence it simply processes the entire character class in one loop.  This actually reduces the number of lines of code.