Replace .children checks with .isElement()
Flesh out the comments for SimpleDOM.
Add comments for `generateAttributeEdits`
Comment tweaks. Renamed addPos/offsetPos to _addPos/_offsetPos since they're private.
Merge pull request #5095 from adobe/dangoor/isElement

[LiveHTML] Code cleanup in HTMLSimpleDOM