Fix updates for Unique Constraints on array properties

It turns out updating was broken for array properties.  I've now fixed it all up and included trigger tests for these scenarios.