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

Solves issue #28. 
Besides the bug fix, the geometry information is now only provided when asked.