Tree: add EntryByPath

The more powerful version of EntryByName.