Web Workers support.

Fixes an exception that was raised when importing sinon.js in a
Web Worker context using importScripts.
Merge pull request #255 from pwnall/web-workers

Web Workers support.