Walk statcache pathparent

1. Includes stat_cache_walk for SIGUSR2. We have discussed alternate approaches.
2. Cleans up code which assumed trailing slashes
3. Fixes issues with root directory sometimes being a slash, sometimes and empty string