Bug 995425 - upgrade sinon to 1.9.1 and update API usage. r=julienw

https://bugzilla.mozilla.org/show_bug.cgi?id=995425