Make sure we call nodeWasAdded_ on all added nodes

On the case of a document fragment being added we need to call nodeWasAdded_ on all the nodes that were added.

Fixes #246