As PHOTOFAIRS prepares to open in San Francisco this weekend, we investigate the storied collection of innovative works showing within it