Fix bug in Contour draw() where beginShape() and endShape() were called
per-point, making contours invisible. Also, add access to Contour
bounding boxes. Note: Imgproc has different methods for finding
bounding boxes of MatOfPoint and MatOfPoint2D