Add documentation to DOMUtils.

Co-authored-by: C. Scott Ananian <cscott@cscott.net>
Change-Id: I6168da8944650abb9787d284b87e3ec521f2f88d