actor: Ensure the invariants of transition-stopped
actor: Ensure the invariants of transition-stopped

We need to make sure that ClutterActor::transition-stopped is emitted
after the transition was removed from the actor's list of transitions.

We cannot just remove the TransitionClosure from the hash table that
holds the transitions associated to an actor, and let the
TransitionClosure free function stop the timeline, thus emitting the
::transition-stopped signal - otherwise, stopping the timeline will end
up trying to remove the transition from the hash table, and we'll get
either a warning or a segfault.

Since we know we're removing the timeline anyway, we can emit the signal
ourselves in case the timeline is playing, in both the implicit and
explicit cases.

jigpu/clutter,ebassi/clutter,heysion/clutter-clone,djdeath/clutter-android,GNOME/clutter,Distrotech/clutter,Distrotech/clutter,djdeath/clutter,Distrotech/clutter,heysion/clutter-clone,jigpu/clutter,GNOME/clutter,ebassi/clutter,heysion/clutter-clone,ebassi/clutter,collects/clutter,collects/clutter,djdeath/clutter-android,GNOME/clutter,collects/clutter,ebassi/clutter,collects/clutter,jigpu/clutter,jigpu/clutter,Distrotech/clutter,djdeath/clutter,djdeath/clutter-android,Distrotech/clutter,heysion/clutter-clone,djdeath/clutter-android,heysion/clutter-clone,jigpu/clutter,ebassi/clutter,djdeath/clutter-android,djdeath/clutter,GNOME/clutter,collects/clutter,djdeath/clutter,GNOME/clutter,djdeath/clutter,Distrotech/clutter,djdeath/clutter,jigpu/clutter