ISPN-3583 Add optional infinispan-query.jar to org.infinispan module so query config validation can work

Also remove sample-domain-definition dependency which is not used directly