Two injury-time goals earn Kerry a dramatic 5-15 to 1-24 victory over Derry in the Allianz Football League Division One game at Celtic Park.