Fix pycurl linking in tests

Need to set a `PYCURL_SSL_LIBRARY` environment variable in tox and travis configurations for pycurl to link correctly against libcurl.