Change visitor logic so that primitive fields aren't considered updates by NodeTransformer.
Added ChangeCounter, an instrumented version of NodeTransformer.
Optimized NodeTransformer to avoid constructing nodes unnecessarily.