Ruby algorithm for diffing two HTML DOM trees