Preparation for Python3 support
Merge branch 'py33' into dougrain-0.5.1_python_3.3
Use dougrain 0.5.1.

Dougrain 0.5.1 is compatible with Python 3.3 (and 3.2).
Fix import error for urlparse.

The urlparse module was moved under urllib in Python 3.0. With this
change, if urlparse is not found in the Python 2.x location, we try to
import it from the Python 3.x location.
Merge pull request #2 from wharris/dougrain-0.5.1_python_3.3

Python 3.3 support