Layer masks were partly already there. This PR completes the implementation and expose them through the UI. This also adds three operators to: - add a layer mask - remove a layer mask - reorder layer masks Note: These are not used by the renderer yet. Will be done in a following PR. Pull Request: https://projects.blender.org/blender/blender/pulls/119433