First attempt (incomplete) at a Room module definition
Remove Room#add and Room#remove for time being.
Merge remote-tracking branch 'upstream/master' into rooms-callback-support
Add more comments to adapter.js
Add a `roomObjects` array of Room instances
alongside existing dual associative arrays
to avoid conflict.
Test Room constructor initialisation (incomplete)
Add sinon.js for mocking
Refactor rooms tests into separate files.
Delete socket in room when it leaves, add when it joins.
Add test for 'destroy' callback
Add incomplete test for sending 'message' to clients.
JSlint things
Rewrite the Room 'emit' handler
Remove flags, middleware and some instance vars (not needed by Room).
Finish the most basic rooms integration test.
Room needs an io instance, not http instance.
Now room tests can start
Spec for sending 'message' from Rooms.
Do not bail on 1st failing test.
Put common client creation logic in test/utilities.js