ISPN-3587 Add remote query support in ispn server

* Fix classes to load classes in a nicer fashion for server modularity

https://issues.jboss.org/browse/ISPN-3587

This issue also has an ispn-server component: https://github.com/infinispan/infinispan-server/pull/169