ISPN-4635 Query DSL should check against mixing objects created by different factories or builders
ISPN-4446 Signal components of cache removal

* Since stop() takes no parameters, make the remove cache command
signal components of cache removal before cache stop, so that they can
do their job.