Quantum Nonlinear Optics in Lossy Coupled-Cavities in Photonic Crystal Slabs