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.