Update to make the view be the domNode instead of having a view.domNode. I added a viewFactory to create the view and return the view domNode since that seemed to make sense. There were also a couple of view variable names which had to change, parentNode became viewParentNode, and children became childViews.  The view type is passed into the viewFactory. Many tests were updated to remove .domNode when setting things on the view.