offer a more flexible "find" method on the Trie

The find method is now able to execute an arbitrary function when
a match is found. (A match on the path)

This will allow more sophisticated find* methods in the future.