Use "urllib.parse" if the "urlparse" module doesn't exist
Updated "except" syntax
Replaced "compat" module with "six"
Fixed issue referencing urlencode/urlparse
Use "six.string_types" when testing if a variable is a string
Fixed meta-class usage for python 3
Fix encoding issues on python 3
Added python 3.2 and 3.3 to [.travis.yml]
Merge branch 'python-3' into tests