Add support for layer masks
Utilize the already supported matte functionality to implement
masks. On initial parsing of a layer, create a new shape layer holding
its mask shapes, and set that shape layer as a matte.
Since this happens already at the parsing stage, it works for both
LottieAnimation and lottietoqml.
So far limited to layers that do not already use a matte, since only
one is currently supported in the rendering and generator backends.
Task-number: QTBUG-140807
Change-Id: I7afaf6f971b39eba0542d8d22cefad90c85af0f5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>