Correct TreeKey equals() by also comparing parents

TreeKey equals() method needs to take into account position of key in tree, not just name e.g. chapters with the same name might be in different sections of a book.