Replace most remaining NodeHelper iteration method uses with KMime API
Gets us closer to removing those iteration helpers entirely, as the next* ones are inefficient and all of them clash with a more const-correct KMime API, at least in their current form.