Composite objects

Greatly generalized the functionality to handle cuts and histograms with multiple object collections.