Fix package.json main path to point to correct entry point.

Let me know if this is appropriate - it fixes some of the auto-wiring capabilities in certain packaging systems (Webpack, for example).