Added code to calculate the weights for grouped goals. Next is to add code to calculate the weights for the groups themselves.
Minor.. Renamed a group in the test data
Added WEIGHT constants
Added doesGroupHaveSubgroups utility method