This patch adds a compaction info object and an API that returns it. It will be mapped to the JMX getCompactions that returns a map. The use of an object is more RESTFull and will be better documented in the swagger definition file.