Add computation of intersections for lines and line vs circle

The collision detector can now also figure out where primitives intersect
if they do. In the currently rev, intersections between lines and circles
are marked by a small marker circle. However, intersections of two circles
are still missing.