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

* Also make sure the RemoteCacheManager looks for resources using its own classloader