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..
I don't like the extra bool argument in connect. What is it for? And what does a const bool do? should be const bool& so it isn't copied.