Create ObjectGroup trait

This is a trait that contains a set of mostly magic functions that
allow an object to easily access child objects contained within a
standard $container variable.