The Knotted Sky I: Planck constraints on the primordial power spectrum