Python 3 Compatibility

Urlparse has been renamed to urllib.parse in Python 3. This little modification makes it possible to use the extension with Python 3.
Merge pull request #3 from moigagoo/patch-1

Python 3 Compatibility