Definitions for sinon.js

Definitions and unit tests for sinon.js (www.sinonjs.org).