fix path import viewers
fix import urllib2 for  python3
workaround for itervalues
fix iteritems for python3 compat
use items/values for python2/3 compat
Merge pull request #590 from sciunto/python3fix

few Python3 fixes