Simplify ImageCollector
Don't use the O(n) iteration helpers from NodeHelper, rather directly walk through the tree directly, and check for the elements we want rather than checking for all elements we don't want.
Also, make this work with stricter const-correctness upcoming in KMime.