ISPN-4464 Unify test suite for remote and embedded DSL based query tests

* Fixed test so it will properly close cache manager and continue build
Clean up generics a bit
ISPN-4951 Entry Retriever iterator should rethrow caused exception

* Pass along any local throwable to iterator
* If remote node receives throwable propagate that as a response