Add license and package.json

Hello, nice project

I'm aware of #6 but I think it's better to have specific pull requests.

I've added a license (taken from your java readme) and a package.json so that this module can be published on npm.