Halve the number of implementations of removeDotSegments #2207
I noticed that we had implementations of RFC3986's Remove Dot Segments in two places (and I think we removed another implementation already?).
I made a very quick JMH benchmark:
And replaced the recursive implementation, with the string builder based one.
It now lives in