Fixing the MonitorTester to support complex monitors like PSM/MTM

This is the class behind the command line tool called poller-test.
Fix for Enhancement NMS-6626

If the HostResourceSwRunMonitor fails because of a timeout, the reason
does not reflect it.
Fixed a couple of OSGi issues that were preventing opennms-config from
loading.
Merge remote-tracking branch 'origin/1.12'
fix 1.12 -> master merge issue
Fix for Bug NMS-6629

If Jetty HTTP is enabled in opennms.properties, the WebUI doesn't work
with SSL.

The solution is not 100% bulletproof, but it works.
[bamboo] Automated branch merge (from 1.12:ac5833711b64eb48e647b3844d46a67d87addbb9)
Merge remote-tracking branch 'origin/master' into pjsm/2.0