A more sensible null check
Remove usages of deprecated SearchManager.getQueryFactory()
ISPN-4464 Unify test suite for remote and embedded DSL based query tests

Remote and embedded DSL query tests share the domain model. The model defines interfaces
that are implemented using Hibernate Search anontated entities for embedded mode and
Protobuf entities for remote mode. The test driver code is shared between embedded
and remote tests.
ISPN-4510 Enable configuring Transport instance via new XML parser
ISPN-4562 Upgrade to Hibernate Search 5.0.0.Alpha5
Fix test to write from cache 0