Single-Photon Nonlinear Optics and Quantum Control