ISPN-3601 REST cache store has problems with modules and finding classes

* Added rest rolling upgrade test
* Fixed rest store to work in server
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