Class loader: skip non-existing files and files not containing the requested class

See https://github.com/doctrine/common/pull/345#discussion_r22356775
No, it was just emulating `class_exists()` internally