setup.py: list proper Python 2 and Python 3 requirements/classifiers
change urlparse imports to support py2/py3
CollectionResource: add next() method for py2 iterator protocol