Add a method util.nodeContains()

This method is an alternative to DOMNode.contains
Fix search command's behavior in Firefox 25; Closes #134