Fixed two tree.py bugs

One prevented renames and restored ‘_group’ assignments in the
NXgroup.makelink function.