Added specific exceptions for CorpusQL parser.

You can either catch ParseException (the generic parent class, with
a descriptive English message), or one of the subclasses:
* MalformedTagException is thrown something's wrong with an XML tag in
the query
* SingleQuotesException is thrown when the query contains a
single-quoted string but the allowSingleQuotes option is set to false