New SC.WebSocket class
Fixes failing unit test when run through phantomjs

Also add 2 new tests
Adds unit tests for SC.WebSocket queue
Adds unit tests for SC.WebSocket authentification
Fixes a typo in the SC.WebSocket class
Merge pull request #1101 from nicolasbadia/websocket

New SC.WebSocket class