Copy references

When copying nodes update any references in the set which refer to other nodes within the set with their new values.

## Depends

- https://github.com/phpcr/phpcr-api-tests/pull/148