actor: Call show() on set parent conditionally
actor: Call show() on set parent conditionally

This commit adds a further conditional check for calling
clutter_actor_show() when adding a child to an actor. We cannot
unconditionally change the value of the show-on-set-parent property like
the original solution of commit 81b19a78f5e02ae8ffd9235054d80b172496415b
as that breaks the document invariant that show-on-set-parent will be
changed iff an actor is without a parent.

The new ADD_CHILD_SHOW_ON_SET_PARENT flag is part of the default and
legacy flags, thus retaining the default behaviour when adding a child;
the flag is not passed when reordering the list of children, which means
we ignore the state of the show-on-set-parent property.

The conformance test suite fully passes, including the newly added test
to verify that changing the paint order does not trigger visibility.

https://bugzilla.gnome.org/show_bug.cgi?id=674510

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