Merge branch 'master' into dev
update: basic updater functionality
fix: unmatched response size
minor change.
change: add updater's info;
change: move updater docs out.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
fix: properly handle requests from clients;
minor change mainly for test.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
change: re-write formats for draw actions.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
fix: `fs.truncate` is not working in node 0.10.24 any more. Changed to `fs.writeFile`.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
add: cpu usage monitor

It will kill worker if cpu usage is too high.
test

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
移动业务无关的文件至libs目录

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
保证房间销毁后不会再有延迟的数据交互。

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
将消息不同路由上的消息处理函数移出。

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
增加心跳包;
增加类型鉴别的方法集。

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
完善心跳包。

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
修正：错误使用的unalive。

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
使用原生的call替代_.bind

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
修正潜在的错误用法。

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
对RoomManager的路由函数进行整理。

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
启用心跳包。

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>