ISPN-3472 Add all modules required by remote-query

https://issues.jboss.org/browse/ISPN-3472

Pull https://github.com/infinispan/infinispan/pull/2050 first