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
Generate the component metadata file in the generated-resources directory, so that it doesn't force a recompile of the module every time.