Created NodeCollection::addTo().

Implements #188 with a test.