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.
Fix for Bug NMS-6632

Can't download generated reports, a NPE is thrown by the WebUI.

The fix for NMS-6580 must be executed if and only if the fileName
parameter exist and is not null, otherwise, the controller must proceed
to analyze the locatorId to find the physical location of the report.
Fix for Bug NMS-6632

Can't download generated reports, a NPE is thrown by the WebUI.

The fix for NMS-6580 must be executed if and only if the fileName
parameter exist and is not null, otherwise, the controller must proceed
to analyze the locatorId to find the physical location of the report.
Merge branch '1.12' of github.com:OpenNMS/opennms into 1.12
Merge remote-tracking branch 'origin/1.12' into selenium-upgrade-1.12
Bump Groovy version from 1.9.0-beta-3 to 2.3.3