Revert to the 1.1 default behaviour for PATH updates, and add an option

Ref. discussion at #1699
Merge pull request #1713 from OCamlPro/path-inplace

Revert to the 1.1 default behaviour for PATH updates, and add an option