Build the object tree

See CustomObjectStructure for the magic. :) Untested, I need to write
some more classes before I can test it.

BO2 branches are unimplemented. I don't know how the BO2 branch system
worked, maybe someone can help? (@Wickth hint hint)