Use new list class instead of ArrayList in DomUtil.nodeList

Signed-off-by: Ross Allan <rallanpcl@gmail.com>