Add savePNGFile function for histograms.

Render the histogram using vtk offline and then save the image to png
file.
Merge pull request #528 from sksavant/histogram-save-pr

Add savePNGFile function for histograms.