Add AnimationEffect.composite

Both KeyframeAnimationEffect and PathAnimationEffect have a composite
attribute. This change adds the attribute to their common base class,
AnimationEffect.