SvgPainter optimized

SvgPainter now produces one path for each arc of the beachline
by implementing the drawPath method of the Painter interface
differently.