Added package.json and modified library to install binary on npm install

This is a very useful library. To make it more accessible I thought it would be good to have this library available as a global command and installable via npm.