Added bower.json for the client js
Refactored the JsonTransport to a more generic RemoteEventTransport
Upgraded JS library, integrates tightly with the RemoteEventTransport. Note that it is optional to use this transport. Native WebSocket connections are possible when not using this additional functionality.
Use prototypes for Emitter and Room since they will be instantiated multiple times, hence it will save memory.