updates dependencies in package.json

(#1)
updates dependencies

(#1) adds mocha
Ignore them dirty .DS_Stores
Adds simple test as PoC

(#1)
updates .gitignore
Makes main mode more testable

(#1)
updates test
Update tests.js
Merge pull request #2 from frankcash/master

Starts adding tests