Revamp statistics/management API

The current JMX interface is pretty basic. It allows access via JMX but if the user is not using JEE then would make sense to make things accessible via a public API (on PMF/PM).

Additionally the information gathered is limited; we should allow things like the number of reads and number of writes on the datastore, in total and for the most recent transaction.

Description

The current JMX interface is pretty basic. It allows access via JMX but if the user is not using JEE then would make sense to make things accessible via a public API (on PMF/PM).
Additionally the information gathered is limited; we should allow things like the number of reads and number of writes on the datastore, in total and for the most recent transaction.