Returns a normalized path by resolving "." and ".." segments.
Example:
var path = new Path ("/home/user/../admin/./docs");
assert (path.normalize ().toString () == "/home/admin/docs");
|
a new Path with the normalized path. |