Added a DataGrouping class.

This class is used in various places for highstock for now
it's partially done and not yet associated to the hierarchy.