Stub AMQP and EM plus AMQP subscription refactor
Refactor Subscription
Small fix and refactor
Enhance stream_spec readability with mock helper methods
Add basic unit tests
Add URI tests
Fix stream instance retrieval
Merge branch 'sinatra-testing' into js-testing

* sinatra-testing:
  Fix stream instance retrieval
Add first events working test
Refactor testing mock to helpers
Fix context on callbacks
Fix onMessage
Add basic security and connection closing
Extend reconnection tests
Refactor spec helper methods using instance variables
Test queue message forwarding to clients
Remove duplicated Backbone events
Unspecify invalid origin error message
Enhance invalid origin message with actual URL plus some polishment
Move model creation on message reception to Collection