Adjusted ChangeOpClaim/SetClaim to be able to reorder groups

This enables moving groups of statements/claims according to their common main snak property.

Change-Id: I6579a1df79f7e612e5a574cc6065f31c76adea75