Replace jasmine with mocha

Jamine has a too fragile way of hanling async tests. Replaced Jasmine with Mocha + Chai + sinon. Fixes Issue #15