Fix slowdown when doing Shift+Drag resizing gesture
This patch implements a concept of "sequence number" for
KisPaintOpSettings objects. This "number" changes every time the
properties change, therefore we can track if the property has been
changed or not in the external code.
Fixes T3520
BUG:366619