Adding package.json for Node / NPM

I've added a package.json file so that it can be installed as a node module by npm.