Fix caching of scene objects

Need to key of the scene MD5 and the part number.
Prevent skipping of layer zero
Add resetScene getter and setter

Need to be able to prevent the scene being reset for vtkWeb.
Prevent loop exit variable being calculated everytime