pycurl.c: remove a left-over global variable introduced in r150
test_internals.py: add a test for ref-counting in reset()
Merge pull request #1 from kdudka/kdudka

kdudka