added selectDetails()
added treeToDict()

added a function to convert ET to dicts with tags as keys and texts as
values.