Donegal staged a remarkable second-half comeback at O’Donnell Park to stun Kerry and keep their Division 2 survival hopes alive.