Added iterator function to NodeList

First class iteration on NodeList.