Spin–orbit resonance, transit duration variation and possible secular perturbations in KOI‐13