Fixed memory leak when RGBPoints are read
Fixed memory leak when RGBPoints are read

A vtkSmartPointer<vtkUnsignedCharArray> was being assigned a raw
vtkUnsignedCharArray pointer, resulting in a leak. Changed assignment
to take a smart pointer instead.

Took the opportunity to make some raw pointers smart pointers instead,
making the implementation more consistent.

Also removed some debugging output that was left in.

Change-Id: I03693d0545f1c34969a868a48e5821671c10aebc

sumedhasingla/VTK,sumedhasingla/VTK,sumedhasingla/VTK,keithroe/vtkoptix,demarle/VTK,hendradarwin/VTK,SimVascular/VTK,mspark93/VTK,candy7393/VTK,hendradarwin/VTK,sumedhasingla/VTK,demarle/VTK,candy7393/VTK,jmerkow/VTK,SimVascular/VTK,SimVascular/VTK,sumedhasingla/VTK,gram526/VTK,demarle/VTK,sankhesh/VTK,keithroe/vtkoptix,mspark93/VTK,msmolens/VTK,hendradarwin/VTK,keithroe/vtkoptix,candy7393/VTK,sankhesh/VTK,jmerkow/VTK,candy7393/VTK,sankhesh/VTK,msmolens/VTK,candy7393/VTK,mspark93/VTK,hendradarwin/VTK,msmolens/VTK,sumedhasingla/VTK,mspark93/VTK,candy7393/VTK,sankhesh/VTK,keithroe/vtkoptix,ashray/VTK-EVM,msmolens/VTK,gram526/VTK,hendradarwin/VTK,jmerkow/VTK,ashray/VTK-EVM,hendradarwin/VTK,msmolens/VTK,sumedhasingla/VTK,jmerkow/VTK,sankhesh/VTK,mspark93/VTK,gram526/VTK,mspark93/VTK,gram526/VTK,gram526/VTK,SimVascular/VTK,demarle/VTK,ashray/VTK-EVM,sankhesh/VTK,gram526/VTK,ashray/VTK-EVM,mspark93/VTK,SimVascular/VTK,sankhesh/VTK,msmolens/VTK,SimVascular/VTK,demarle/VTK,ashray/VTK-EVM,sumedhasingla/VTK,keithroe/vtkoptix,keithroe/vtkoptix,hendradarwin/VTK,demarle/VTK,gram526/VTK,candy7393/VTK,demarle/VTK,jmerkow/VTK,ashray/VTK-EVM,jmerkow/VTK,keithroe/vtkoptix,msmolens/VTK,SimVascular/VTK,ashray/VTK-EVM,candy7393/VTK,mspark93/VTK,sankhesh/VTK,keithroe/vtkoptix,SimVascular/VTK,demarle/VTK,jmerkow/VTK,ashray/VTK-EVM,gram526/VTK,msmolens/VTK,jmerkow/VTK