Add package.json
Add compatibilty for AMD and CommonJS
Add grunt build process and linting.