Stop using weakref for Cursor.connection
Merge pull request #186 from methane/fix-180

Stop using weakref for Cursor.connection (fixes #180)