Add destroyed(T*) signals for convenience

There are very handy for cleanup purposes, when QObject::destroyed() is
often emitted too late ie. the object is already half-destructed and
thus, the type specific properties can no longer be accessed. These
signals make it possible to access those.