ENH: changed vtkMRMLNodeReference instead of MRMLReferencedNode. Fixed memory leak.