Improvements to the JMX tests.
Fixes COMETD-416 (Allow cleanup of idle sessions).

Introduced ActivityExtension to monitor the activity of sessions and disconnect them after a period of inactivity.