Update package.json to point to the proper main script.

Since the module exporting the default index.js no main is required.
This commit ensures that var pir = require('pir'); works.