Prune ancestors from the AllSettings() result.

They end up making the output noisy and less useful.
Merge pull request #4 from jacobstr/allsettings-leaves

Prune ancestors from the AllSettings() result.