Fixed EZP-21037: content staging error synchronizing a subtree

https://jira.ez.no/browse/EZP-21037

The node assignment copies were given a new remote ID *after* publishing.
This caused staging to create the sync event with out-of-sync data.

The patch ensures that each copied node assignment get a new remote ID upfront.