Remove iteritems for Python 3 compatibility

`iter*` methods have been removed in Python 3 since methods return iterators by default.
Merge pull request #1 from bruth/patch-1

Remove iteritems for Python 3 compatibility