Update package.json to include a "main" script.

This allows easier consumption as a module using Browserify.