add python 3 support

README is updated to python 3
This is untested, but for the import do something like:
```
try:
    from urlib.parse import urlparse
except ImportError as e:
    from urlparse import urlparse
```
- https://docs.python.org/2/library/urlparse.html
- https://docs.python.org/3.3/library/urllib.parse.html?highlight=urlparse#urllib.parse.urlparse