ConstrainedAnimatorTrait: Add repeat feature.
ObjectTraits/KeyFrameAnimationTrait: Fix keyframe serialization.