Add SloppyDOM.DocumentWrapper to avoid cyclic garbage.
Merge branch 'marty/sloppydomgarbage' into 5.4

* marty/sloppydomgarbage:
  Add SloppyDOM.DocumentWrapper to avoid cyclic garbage.