This commit moves the code for the resample curves node to the
geometry module, to allow reusing it in any editor. The same options
are available, accessible with the ctrl-R shortcut like mesh sculpt
mode.
TODO:
- Add an option to avoid changing the curve type. Needs some of the same structure as D14769.