Created NodeCollection::addTo().

Implements #189  with a test.