BUG: Fixed vtkMRMLScene::RemoveNode() reference updates

The list of nodes to be notified about node removal was changing dynamically while iterating through it.
Now we make a copy of the list, so it doesn't change and we can iterate through it safely.
Merge branch 'scene-performance-optimization' of https://github.com/lassoan/Slicer into scene-performance-optimization