Fixed error when element acc_name is None. Fixed infinite loop when parent have child link on himself.
Fixed error when element acc_name is None. Fixed infinite loop when parent have child link on himself.

F1ashhimself/UISoup,yandex-qatools/UISoup,terkira/UISoup