appendChild from a tree with a rendered causes failures

The following fails to correctly update the internal pointers.

treeWithoutRenderer.appendChild(childFromParentWithRenderer)

Fixes #438
Merge pull request #439 from arv/node-append-child

appendChild from a tree with a rendered causes failures