Types::Array: add new method to duck type for collection objects.
Types::Array: add new method to duck type for collection objects.

Now, objects in collection may define private method #real_type, if collection
can contain subclasses of .set_of class. This method is in charge of
returning real type of object from a first parsed one with collection type.

sdaubert/packetgen