Add support for the layer Auto Orient feature, for VectorImage
The QML generator already offers this functionality in its motion path
animation functionality. So adding support for it only involves piping
the value of the layer property into the transform animation
parameter to the generator.
This commit includes cleaning up the handling of the auto orient
property in the qtlottie parser. It was implemented partially as a
QLottieLayer property, and mainly as a property of QLottieBase. The
latter makes no sense, since it is only defined for layers. Fix by
moving ownership and handling fully to QLottieLayer.
Fixes: QTBUG-140806
Change-Id: Iba9cca49b8e4939d8405e8a972a8d696dc193207
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>