Reverting this change so we can try an alternative way to implement this functionality in TreeIterator.

Revert "Created a decorated version of NodeBeginsParsingEvent which knows its own DOMS pid."

This reverts commit 89ebbf1de8e8d3be4ff86325733a60ab77ad58bc.