Rate-independent plasticity as Gamma limit of a slow viscous gradient flow for wiggly energies