pycurl: add pycurl version to `pycurl.version` and user-agent.

Supersedes #46.