DDF-374: Added MBean to expose the service via JMX.

Also updated documentation and added unit tests.