Replace OpenSlide.fileIsValid() with detectVendor()

openslide_can_open() is slow and deprecated.  openslide_detect_vendor()
can return non-null on files that openslide_open() will reject, so we
don't attempt to implement a fileIsValid() method with it.