Remove all empty directories from index.

This removes empty dirs as much as possible, so fixes #79

- sneaky_index helps preventing empty forbidden namespaces
(especially when nodes are not unfolded/not loaded for some levels), but
can hide deeper allowed nodes of course.
- this removing of empty dirs is only performed for the sort options:
tsort, dsort,msort,nsort and hsort.