The Serb beats the world No1 6-3 5-7 6-4 to win the Qatar Open in a terrific match that lasted almost three hours