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
ISPN-4483 Replace usages of deprecated junit.framework.Assert with org.junit.Assert