use event emitter and constructor function
add superagent as dev dep
use constructor fn in test app
add handle response setting to config
add tests for event emitter
0.5.0