add .gitignore
add test script and mocha devDependencies