rpmutils: fix the rank computation of nodes
rpmutils: add missing code to add children to the node
rpmutils: fixed some bugs in nodes graph computation code
rpmutils: still continue debugging the problem of circular references