Adds package.json and initial support for Common/AMD

Needed to NPM publish this, let me know if you have an NPM account and I'll add you as an owner to it.