Replace iteritems with items

There is no dict.iteritems in Py3. And in Py2, it really shouldn't make much of a performance difference to use dict.items.
Merge pull request #77 from vedgar/patch-1

Replace iteritems with items