Adding mocha, sinon & grunt tasks for tests. Added corresponding globals to jshint