Add Package Management

I've added a `package.json`, which should allow new users of this tool automatically install dependencies using `npm install`.