Normalizes the given path by removing leading, trailing and doubled slashes and also removing the dot sections.
The path to normalize
Normalizes the given path by removing leading, trailing and doubled slashes and also removing the dot sections.