Ifdown: Rebuild hierarchy from lowerdev and masterdev

- Rebuild hierarchy from lowerdev and masterdev (add exclusive_owner and children respectively)
- flatten (drga in children and sort by depth but omit those with exclusive_owner - they will be taken in by its exclusive_owner) twice: on get and after start