Allow using matchers on nokogiri xml documents

Hi there!

I wanted to use these awesome helpers to match some generated XML documents, but unfortunately it was expecting just string or nesting.
So I made a patch with tests to support calling these matchers on `Nokogiri::XML::Document` or any object implementing `search`.