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

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