Use six.iteritems to iterate over dictionaries.
Review Request #6585 — Created Nov. 13, 2014 and submitted — Latest diff uploaded
This switches us over to the six helper method for bridging the gap between
Python 2.x's iteritems() and 3.x's items().
Ran unit tests.