ISPN-4471 MapReduceTask: memory leak with useIntermediateSharedCache = true
ISPN-4045 String literal escaping for new query dsl is not properly done

Upgrade hql parser to 1.1.0.Alpha3 which fixes HQLPARSER-43
Add new line at EOF where needed
Tiny optimisation

Turn two comparisons into one
ISPN-4465 Unify test suite for indexed and non-indexed DSL based query tests
ISPN-4456 DSL queries: maxResults must be greather than 0
ISPN-4475 Test indexless query in compat mode
ISPN-4458 Query DSL: negation predicates on properties of embedded entities are not correctly evaluated for non-indexed queries

Fixes following tests:
* ProtobufMatcherTest.testCollectionIsNotNull1
* AbstractMatcherTest.testProjectionOnRepeatedAttribute
* NonIndexedQueryDslConditionsTest.testProjectionOnOptionalField
* NonIndexedQueryDslConditionsTest.testSampleDomainQuery20

Link disabled tests to HQLPARSER-44
ISPN-4457 Update query tests to use the new index config api introduced with ISPN-3514
ISPN-4483 Replace usages of deprecated junit.framework.Assert with org.junit.Assert