Replace sinon stub.throws() with throwsException()

Rhino/lcov (run as part of generating our code coverage metrics) gets upset with throws(), as throws is an ECMAScript 3 future reserved word:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Reserved_Words