Fixed exponential reconnect not wait twice as much.
Moved possibleAuthErrorHandler to addAllListeners.
Fixed reconnect removing all externally added events.
Add travis CI config.
Add 'npm test' command, make tests interruptable.
Move test runner into separate script; travisci seems to barf on trap in sh