Add a main field to the package json.

This lets commonjs loaders like browserify and webpack simply `require` the package. It could even be published to npm.