Add JMX attribute sensors

Tidy up existing `AddSensor` code for SSH and HTTP sensors, and adds a new `JmxAttributeSensor` initializer, which adds a sensor that polls for an attribute in a JMX object on a suitable configured (i.e. implementing the `UsesJmx` interface) entity.