Rename Node instance variables
Remove concept of managed nodes
Store children in a vector
Document owns the nodes created

This is a large change to the ownership semantics. Hope it's all good!