Attempt to import urlencode from python3 location with fallback to python2 location.
Removed use of `unicode` from __repr__ methods.
Attempt to import FancyURLopener from python3 location with fallback to python2 location.