Iterator

Implementation of an iterator that goes thru a Component and all its sub-components in a tree (pre-order) traversal. A test case that demonstrates the usage is also included, along with wrapping to make these iterators accessible from scripting..
If we use a const reference here, do we not need to worry about memory management? I don't know if it's possible to have a default argument for a const reference.