Document usage guidelines for DomUtils.getElementsByTagName*

Adds documentation as requested. Fixed #736.