Better utility method to add dir to path env var

- removed SortAndDeDupe-PathEnvVar
- added AddDirectory-ToPathEnvVar, which uses code from
SortAndDeDupe-PathEnvVar