[IpcEvents] Update API doc
[test] Add some tests
[license] Add package info
[README] Add NPM badge
[package.json] Update test command and version to v1.0.2