Add getTotalSize() for Infinispan 5.2 and greater

Use a distributed executor to get the local cache size of each node,
then determine the total size based on the clustering mode and cluster
size.

Note: The accuracy of results with passivation enabled on Infinispan
versions less than 6 is not guaranteed.