Iterate over DOM child nodes properly
Iterate over DOM child nodes properly

When altering the child nodes (i.e. moving them in the DOM, removing
them, etc) we need to work off the initial number rather than using the
iterator. (I suspect internally, it's just doing $i++ each iteration,
and we're simultaneously decreasing the count.)

Fixes the first item title test for old bug 564.

blat/simplepie,ropik/simplepie,Alkarex/simplepie,simplepie/simplepie,Alkarex/simplepie,wikidi/simplepie,mblaney/simplepie,songfj/simplepie,barryvdh/simplepie,blat/simplepie,barryvdh/simplepie,skyzyx/simplepie,songfj/simplepie,wikidi/simplepie,mblaney/simplepie,ropik/simplepie,blat/simplepie,simplepie/simplepie,FreshRSS/simplepie,skyzyx/simplepie,Alkarex/simplepie,songfj/simplepie,FreshRSS/simplepie,barryvdh/simplepie,wikidi/simplepie