Add support for Python 3

It doesn't seem like much work to also support Python 3, so I added the support.

- Import print_function from \__future__ and change all print statements to function calls.
- Handle different import paths to urllib.urlretrieve/urllib.request.urlretrieve in setup.py