This commit adds calculation of lengths along the curve for each
evaluated point. This is used for sampling, resampling, the "curve
parameter" node, and potentially more places.
The length calculation and calculation of uniform samples is
generalized to a new utility header in blenlib, which can find evenly
spaced samples along a sequence of points, and use linear interpolation
to move data from those points to the samples. Making the utility more
general aligns better with the more functional approach of the new
curves code and makes the behavior available elsewhere.