High Order Complex Contour Discretization Methods to Simulate Scattering Problems in Locally Perturbed Periodic Waveguides