Preserve the shared-catalog integration and saved review repairs. Reject saved path commits during quick-mask editing, hide the unavailable 2D brush cursor, and reduce dirty-tile selection work. Keep the Selection test fixture in its own module.
* fix(engine): reset paint target to content when undoing mask (#307)
* fix(engine): resolve mask_owner in after_history and clear below cache in test (#307)
A path committed on a fill layer (its content, an effect in it or an
instance of it) or while the quick mask is edited is refused; paths already
saved in a fill layer stay editable through their sublayer. Edit and Invert
quick mask are enabled only while the quick mask is on, and turning it off
stops editing it.