Scattering in structured photonic media for classical and quantum light manipulation