Added plot.destroy() method, to properly destruct and release memory of a plot.
Merge pull request #1130 from thgreasi/master

Added plot.destroy() method, to properly destruct and release memory of plots.