Added dummy commands for dispatcher
Merge pull request #2 from knalli/master

Additional changes
Introduce promises API with Q

This adds promise usage for reading and writing game states.
Add default action for debugging proposes
Fix index.html formatting
Add initial setup for testing two way communication
Introduce internal socket/client handling (remember my client).
Introduce eventemitter2 api
Code layout
Extract backend from main module
Improve logging with dedicated logging system
Add more abstract broadcast-to-clients functionality.
Buffered syncData (writing game data).
Doc and lint fixes
Returned game data on creation should be not expose private data.
Advanced decoupling with event.
Add constants/enums.
Fix some issues with registerClient

* accidentally result of array-splice stored (wrong clients/sockets "destroyed")
* avoid possible dead lock / infinite loop while deregistering clients and notify all players of this action
Add internal cleaning methods
Use custom events.