Seamus Coleman snatched a last-gasp winner for Everton as Cardiff City's survival hopes were hit by a 2-1 defeat at Goodison Park.