1.9.1
Fix strangely worded tests
Fix wrapMethod error handling

sinon.wrapMethod was actually failing with this error when the property
wasn't defined:
"Cannot read property 'restore' of undefined"

It tried to access wrappedMethod.restore despite results of previous
check if the wrappedMethod is a function.

This commit fixes this issue and the corresponding test.
Merge pull request #449 from deltaidea/fix-wrapMethod

Fix wrapMethod error handling
AMD spec calls for require.amd to be an object

Fixes #448
Fix clearTimeout() for Node.js mode
Merge pull request #451 from Medium/xiao-fix-clearTimeout-for-nodejs

Fix clearTimeout() for Node.js mode
update 'returns numeric id' tests for setTimeout, setImmediate and setInterval
Merge pull request #452 from benfleis/master

update 'returns numeric id' tests for setTimeout, setImmediate and setInterval