Fixed chai bindings so that now they work with CommonJS; added tests
Merge pull request #2459 from chaser92/master

Added quotes so that it compiles with Node.js