A wide-ranging resource guide to would-be inventors at the New York Public Library, whose science reading rooms have hatched innovations such as the Polaroid camera and the Xerox machine.