add package.json
add chromepet.js and example
use event emitter
add test case
add travis ci build