WICKET-5284 Too deep recursion in AbstractHierarchyIterator

Deprecate component hierarchy iterators