Revert "ISPN-3583 When indexing is enabled but Query module isn't available configuration validation should fail"

This reverts commit e4b98117fdd01fa8cab7e419dc8abb53674cefc0.

The change was breaking Infinispan Server, because it tries to build() the
configuration before setting the appropriate classloader first.
WIP
wip
wip
wip