Update itr.lua

when iter:next() goes end, the key should be nil.
Merge pull request #1 from boin/patch-1

Update itr.lua