A simpler, more limited fix to issue 4111.

Just change a few stray invocations of iteritems() to items(), in
order to be compatible with Python3 and consistent with previous
changes for supporting a Python2/3 unified source.

	modified:   sympy/core/compatibility.py
	modified:   sympy/core/tests/test_compatibility.py
	modified:   sympy/functions/elementary/trigonometric.py
	modified:   sympy/polys/polycontext.py