WIP - Recompute pk on path change (fixes #1214)

* [x] Recompute start/end/offset for points
* [x] Recompute start/end/offset for lines
* [x] Exhaustive tests suite
* [ ] Fix tests regarding path split