Add npm support

Many client-side projects are using npm these days to manage dependencies. If you want to merge this, I will add you as an owner to the npm package (https://www.npmjs.org/package/event-source-polyfill) so you can push updates.