Add missing "main" attribute to package.json

package.json requires a "main" attribute so that anything requiring the module will be able to find the main js file.  The major use case for this is browserify.
Merge pull request #337 from ProCynic/patch-1

Add missing "main" attribute to package.json