Add Python 3 support

Adding support for Python 3 is pretty simple. The imports for `httplib`
and `urllib.urlencode` need to be updated to their new locations and the
response data needs to be decoded so that it isn't treated as bytes.