cleaner: fix permission debug output
cleaner: slightly less coupling in tests
cleaner: add tests to demonstrate some current failures
cleaner: add tests to document current pruning behavior
cleaner: add test to demonstrate that empty prefixes are removed
cleaner: clean up broken and orphaned symlinks