typesafehub/activator — pull request #398 by henrikengstrom (2014-03-18 20:55:30+00:00)
Title: Uses one web socket instead of two. Lots of code reuse and some wiring b...

...etween the two ways of communicating. This serves as an intermediate step towards the new web socket implementation.

Does a lot of things but among others:
* simplifies the _connection.js_ implementation in that all WS related code is removed + no internal queues for re-sending messages
* sets _connection.js_ as a subscriber in _streams.js_ to listen to Inspect related events
* integrates ```WebSocketActor``` and ```ClientHandler``` so that Inspect messages are routed correctly
* adds a layer above the JSON sent to Inspect to mimic the behavior used between _streams.js_ and ```WebSocketActor````