NXCALS-3486 hierarchies using groups
#Merge request template @acc-logging-team - please have a look for approval.
Please note that the db scripts are commented out, due to breaking changes they introduce on the junit db.
UNCOMMENT DB SCRIPTS AND RERUN BEFORE MERGE
Closes NXCALS-3486
Edited by Kamil Krzysztof Krynicki