support curves in Draft.getSVG()

curves with a degree<=3 will be converted to bezier segments
curves with a higher degree are discretized