Added events. Closes #3
Converted lib to an npm module.
Bumped version.
Merge branch 'node'