ModeShape/modeshape — pull request #1019 by hchiorean (2013-12-20 16:36:02+00:00)
Title: MODE-2123 Changed the code so that new nodes never try to find themselves in the workspace cache.

Building the current `master` with this causes the following failures:

```
Tests in error:
shouldBeAbleToImportSystemViewWithBinaryTwiceWithRemoveExistingCollisionMode2(org.modeshape.jcr.ImportExportTest): javax.jcr.InvalidItemStateException: This session tried to save changes to node with key 'Cannot locate child node: ee0a8387505d649e088bdc-8416-4dec-83b2-63047ae14fc2 within parent: ee0a8387505d64aa5ed17b-f39b-4234-9196-e908ca849a5b', but it was removed by another session.
shouldBeAbleToImportTwiceWithoutLoosingMixins(org.modeshape.jcr.ImportExportTest): This session tried to save changes to node with key 'Cannot locate child node: ee0a8387505d6491b0ee75-567e-4ce2-bbba-783596ce4ce5 within parent: ee0a8387505d6440ec235e-cad2-4188-ba63-6d2c0fa0b139', but it was removed by another session.
```