Add default setting to activate NMS-5777 fix
NMS-6051: fix database connection leak
Remove obsolete comment regarding storeByGroup and graph definitions
get the branch hash if it is detached
fix for debian snapshot build issues
only assemble if install passed
bomb early if required exes are missing
Fix for NMS-5880 and some logging improvements for thresholds.
Merge remote-tracking branch 'origin/1.10' into 1.12

Conflicts:
	opennms-services/src/main/java/org/opennms/netmgt/threshd/CollectionResourceWrapper.java