Fix memory leak in` vtkWebApplication::StillRender`
vtkWebApplication::StillRender was passing a raw vtkImageData* to vtkDataEncoder::Push causing a leak.
A test is added that reports memory leaks when compiled with VTK_DEBUG_LEAKS on current master but is fixed in this MR.
Backport: release
Edited by Christos Tsolakis