Replace sinon stub.throws() with throwsException()

Rhino/lcov (run as part of generating our code coverage metrics)
gets upset with throws(), as throws is a JavaScript reserved word.
Merge pull request #147 from fmtvp/throwsException

Replace sinon stub.throws() with throwsException()