I see how you got confused. Notice they are biasing the phototransistor to switch faster rather than act more linearly. I don't know what the purpose of the Olimex circuit is. It's an optically coupled OR-gate that resets the processor for whatever reason I don't know.