py3: more fixes
py3: fix few more print
py3: fix unit tests and more iteritems()
py3: more iterkeys fixes