Add and support syntax property on queries
It may be useful to use the expressiveness of specific search syntaxes like [SolR'one|http://lucene.apache.org/core/4_0_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html] when searching for documents with advanced queries.
However those syntaxes require special characters varying from one search engine to another.
The query builder should add an annotation on the query telling which syntax is used for the query it built.
By default, if the Query does not have any syntax property defined, then search engines should escape the query to avoid unwanted special characters interpretation.
The syntax property must be set with the property: http://weblab.ow2.org/core/1.2/ontology/retrieval#isExpressedWith from the retrieval weblab ontology