Changed vectors to sets in GCommitNode

Now, sets are used for children and parents of GCommitNode, while
eliminates duplicated children