Optical nonlinearity for few-photon pulses on a quantum dot-pillar cavity device.