Added JMXMonitor listener (now with unit tests)

Heavily inspired by DbMon.

I'm not very experienced in working with Git, so please excuse me if I've done something wrong.

I'll add it to the wiki as soon as the merge is done.