Allow purescript-chai to work in Node.js as well as browser

I tested this by running the tests for purescript-timers via karma as well as via mocha in node.js.

Note that I've left chai out of package.json on purpose - there's no reason to include it there; only users of this library need to add chai to package.json.