Add signal connection reference management
Submitted by Tiago Cogumbreiro
Link to original bug (#332782)
Description
I've created an implementation[1] based on a document I wrote[2].
Basically it represents a signal connection with an instance. When that instance has no references left the connection is terminated. The connection is also terminated when the object is destroyed (and the 'destroy' signal is emitted).
[1] - http://linus.uac.pt/~cogumbreiro/signalholder.py [2] - http://s1x.homelinux.net/documents/subscription_en