Move ownership of parts/handles to top-level building structure

The usage of these elements is often still recursive, child and parent
links still exist. But now its easy to iterate through everything,
which is often more convenient and will fit better with things like
Blender's existing selection tools.
Remove separate sorted_parts array