Additional DOMDiff tweaks (continuation of 4170e8a9)

* I didn't go all the way in 4170e8a9.
* Net additional 18 tests now passing.

Change-Id: Ib44f7002aec1f503d037f3493eac6076a60a92f9