add .gitignore.  fix "main" script location.  add `npm test`.
comment out some console.logs
Merge pull request #29 from cainus/master

fix 'main' property in package.json to make this library require-able again.