Add has_member function to test if a tag is present among subnodes.

I have added a function to test if a tag is present among subnodes, which I found quite useful when filtering nodes depending of a precise child being present.