added dependency 'promising'
npm "doc" script
more tests & docs for SockethubClient, added 'message' handler to SockethubClient
moved 'connect' method to it's own file and added some unit tests
set correct protocol for WebSocket again
moved parantheses to the correct position
generalized event handling
added 'connected' and 'disconnected' events to JSONClient
bubble 'connected' and 'disconnected' events through SockethubClient
added 'failed' event to distinguish failing websocket connections and connections being lost later on.
added optional 'decorator' for declaring types
fail sendObject's promise, when a "confirm" with status: false is received
added support for a custom extension parameter for verb methods
reimplemented "ping" verb using verb DSL
replaced old sockethub.js with new entry point
added 'ping' example
added verbs: "register", "set"