vtkWeakPtr: add a class which holds a weak reference to vtkObjects
This class is intended to replace vtkWeakPointer
which is quite unsafe
in the presence of an object existing on multiple threads at once
because the setting of each vtkWeakPointer
's internal object instance
in vtkObject
's destructor codepath.
Cc: @brad.king