Compute the moments of a contour

Added a moments method to the contour object and an example using resulting moments to display a cross at the "center of gravity" of a contour.