Added npm package, started to rewrite tests using Mocha/Gulp.