ISPN-4639 IndexingConfigurationBuilder query module validation is wrong

* Added new validate method that provides access to GlobalConfiguration
* Changed IndexingConfigurationBuilder to use GlobalConfiguration CP
* Added Clustering validations to ensure transport is set
ISPN-4667 Query DSL fails to load entity class in Wildfly
Test that replaying a prepare command doesn't acquire the lock twice