Forward declaration fixes

This contains fixes for Group::hashGlobals() and for SubTree::computeGlobals(). Collectively they address issue #269.