ISPN-3472 Declare modules required by remote-query to the BOM

* Also make sure the RemoteCacheManager looks for resources using its own classloader

https://issues.jboss.org/browse/ISPN-3472

Pull https://github.com/infinispan/infinispan-server/pull/143 after this