Add methods for removing group from a Trail and removing all groups if
collection does not have groups
Potentially remove groups before the sort on the Trail by group
Change groups logic
Make stephan happy with indenting
Add pruning methods and prune groups of zero and empty metadata
Change the match as asOpt[Int] was not working
Merge branch 'groups-changes'