Veryfi spent years teaching machines to read the slips of paper everyone else wanted to throw away. Then it discovered that the reader, not the receipt app, was the valuable part.