emit package event
add test
Merge pull request #29 from cellvia/package-emitter

proxy package event from browserify