ISPN-3587 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

Jira: https://issues.jboss.org/browse/ISPN-3583

Corresponding ispn PR: https://github.com/infinispan/infinispan/pull/2143