Add REST API to query infinispan stats. Add memory usage stats.

Memory usage stats on topic branch.