LPS-42551

Hi Mika:

Here's the final implementation. I tested it for Alfresco and Nuxeo but still don't see it very clear. It changes behavior from previous implementations.

Also, I changed the AND to OR when joining the properties and CONTAINS queries, but that goes against CMIS spec 1.0. It works in Nuxeo and Alfresco, though.

Please have a look at it and test it if you can to see if you thinks it's OK.

Regards,
Ivan