Changed kx.iterator.each() implementation to follow the Array.forEach() spec more closely