Clears timeout timer even when async spec throws an exception
Clears timeout timer even when async spec throws an exception

When an async spec throws a (sync) exception for some reason, the
exception was correctly caught and reported by Jasmine but the timeout
timer continued to run in the background.

For instance, running the (rather stupid) example below would report
the exception immediately but would also make the process loop for 5s
(and report the exception depending on the reported being used).

describe('exception', function () {
  it('is caught but timer continues to run', function (done) {
    throw new Error('Oh no!');
  });
});

This happened because the timout timer is set in Spec while the
"try... catch" block is in the queue runner. The "callDone" function
of "timeoutable" that resets the timer was thus not called.

The commit simply introduces a "try... catch" block within the
`timeoutable` function to ensure that "callDone" gets called even
when an exception is thrown.

GerHobbelt/jasmine,endlessm/eos-jasmine,leahciMic/jasmine,negherbon/jasmine,denisKaranja/jasmine,SimenB/jasmine,martinma4/jasmine,deborahleehamel/jasmine,songshuangkk/jasmine,endlessm/eos-jasmine,chowooick/kaug,xolvio/jasmine,aln787/jasmine,jnayoub/jasmine,songshuangkk/jasmine,aln787/jasmine,yy8597/jasmine,xolvio/jasmine,JoseRoman/jasmine,morsdyce/jasmine,aaron-goshine/jasmine,negherbon/jasmine,martinma4/jasmine,JoseRoman/jasmine,qiangyee/jasmine,Muktesh01/jasmine,SimenB/jasmine,paulcbetts/jasmine,aspirare-aude/hello_world,imshibaji/jasmine,Jahred/jasmine,kalins/samples-javascript.jasmine,songshuangkk/jasmine,substack/jasmine,Jahred/jasmine,yy8597/jasmine,xolvio/jasmine,caravenase/jasmine,seanlin816/jasmine,caravenase/jasmine,rlugojr/jasmine,caravenase/jasmine,songshuangkk/jasmine,denisKaranja/jasmine,faizalpribadi/jasmine,antialias/jasmine,rlugojr/jasmine,suvarnaraju/jasmine,martinma4/jasmine,SimenB/jasmine,mashroomxl/jasmine,yy8597/jasmine,aaron-goshine/jasmine,imshibaji/jasmine,danielalexiuc/jasmine,faizalpribadi/jasmine,Sanjo/jasmine,kalins/samples-javascript.jasmine,Contagious06/jasmine,wongterrencew/jasmine,seanlin816/jasmine,seanlin816/jasmine,seanlin816/jasmine,negherbon/jasmine,antialias/jasmine,seanparmelee/jasmine,seanparmelee/jasmine,endlessm/eos-jasmine,paulcbetts/jasmine,kalins/samples-javascript.jasmine,GerHobbelt/jasmine,suvarnaraju/jasmine,mashroomxl/jasmine,soycode/jasmine,leahciMic/jasmine,kalins/samples-javascript.jasmine,yy8597/jasmine,GerHobbelt/jasmine,aln787/jasmine,qiangyee/jasmine,marcioj/jasmine,songshuangkk/jasmine,danielalexiuc/jasmine,IveWong/jasmine,seanparmelee/jasmine,aspirare-aude/hello_world,suvarnaraju/jasmine,GerHobbelt/jasmine,kyroskoh/jasmine,morsdyce/jasmine,deborahleehamel/jasmine,tsaikd/jasmine,Sanjo/jasmine,kyroskoh/jasmine,rlugojr/jasmine,paulcbetts/jasmine,Sanjo/jasmine,James-Dunn/jasmine,caravenase/jasmine,Jahred/jasmine,kidaa/jasmine,danielalexiuc/jasmine,Muktesh01/jasmine,tsaikd/jasmine,James-Dunn/jasmine,marcioj/jasmine,WY08271/jasmine,seanlin816/jasmine,JoseRoman/jasmine,jnayoub/jasmine,faizalpribadi/jasmine,WY08271/jasmine,WY08271/jasmine,jnayoub/jasmine,morsdyce/jasmine,Jahred/jasmine,tsaikd/jasmine,JoseRoman/jasmine,negherbon/jasmine,Contagious06/jasmine,jnayoub/jasmine,kalins/samples-javascript.jasmine,suvarnaraju/jasmine,aspirare-aude/hello_world,soycode/jasmine,chowooick/kaug,wongterrencew/jasmine,yy8597/jasmine,kyroskoh/jasmine,seanparmelee/jasmine,WY08271/jasmine,IveWong/jasmine,chowooick/kaug,deborahleehamel/jasmine,martinma4/jasmine,seanparmelee/jasmine,aln787/jasmine,marcioj/jasmine,paulcbetts/jasmine,imshibaji/jasmine,kidaa/jasmine,Contagious06/jasmine,SimenB/jasmine,Sanjo/jasmine,kidaa/jasmine,jnayoub/jasmine,wongterrencew/jasmine,caravenase/jasmine,marcioj/jasmine,negherbon/jasmine,caravena-nisum-com/jasmine,aaron-goshine/jasmine,soycode/jasmine,aaron-goshine/jasmine,denisKaranja/jasmine,substack/jasmine,wongterrencew/jasmine,Muktesh01/jasmine,leahciMic/jasmine,Contagious06/jasmine,morsdyce/jasmine,xolvio/jasmine,wongterrencew/jasmine,leahciMic/jasmine,chowooick/kaug,kyroskoh/jasmine,qiangyee/jasmine,Muktesh01/jasmine,morsdyce/jasmine,rlugojr/jasmine,antialias/jasmine,kidaa/jasmine,imshibaji/jasmine,endlessm/eos-jasmine,mashroomxl/jasmine,IveWong/jasmine,xolvio/jasmine,denisKaranja/jasmine,martinma4/jasmine,antialias/jasmine,Jahred/jasmine,substack/jasmine,paulcbetts/jasmine,suvarnaraju/jasmine,tsaikd/jasmine,faizalpribadi/jasmine,Muktesh01/jasmine,tsaikd/jasmine,caravena-nisum-com/jasmine,qiangyee/jasmine,IveWong/jasmine,James-Dunn/jasmine,faizalpribadi/jasmine,denisKaranja/jasmine,rlugojr/jasmine,WY08271/jasmine,aaron-goshine/jasmine,caravena-nisum-com/jasmine,JoseRoman/jasmine,James-Dunn/jasmine,Sanjo/jasmine,James-Dunn/jasmine,caravena-nisum-com/jasmine,IveWong/jasmine,mashroomxl/jasmine,kidaa/jasmine,soycode/jasmine,marcioj/jasmine,imshibaji/jasmine,kyroskoh/jasmine,endlessm/eos-jasmine,SimenB/jasmine,aln787/jasmine,antialias/jasmine,GerHobbelt/jasmine,danielalexiuc/jasmine,caravena-nisum-com/jasmine,mashroomxl/jasmine,danielalexiuc/jasmine,Contagious06/jasmine,soycode/jasmine,qiangyee/jasmine,deborahleehamel/jasmine,deborahleehamel/jasmine,leahciMic/jasmine