Revised diff format.

For element insertions, diffs now include one of:

* afterID
* beforeID
* firstChild
* lastChild

afterID means immediately following that ID but before any text nodes.
beforeID means immediately preceding that ID and after any text nodes.