Fix PathResolver.IsRoot() in non-web paths.
Fix PartitionPath for web path with root.
Add non-empty expanded path test.