bug fix #28 (due to DGtal evolution) in contourGenerator

Besides the bug fix, the geometry information is now only provided when asked.