Add Nokogiri::XML::Document#collect_namespaces_[href_keys|prefix_keys]

See https://github.com/sparklemotion/nokogiri/issues/885 for details