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
ISPN-3480 Use protoparser lib instead of relying on binary descriptors generated by protoc
ISPN-3729 Minimize the number of moved segments for SyncConsistentHashFactory

Based on the original consistent hashing paper, the
NewSyncConsistentHashFactory algorithm doesn't move any segments at all.