Joel Ward says he had a fairy tale ending as he played his final Crystal Palace game at Selhurst Park.