support curves in Draft.getSVG()

curves with a degree<=3 will be converted to bezier segments
curves with a higher degree are discretized
Draft: added a debug message to bspline-to-svg conversion
Draft: small bugfix