change global to pg2

use pg2
use pg2

use pg2 replace global
add rebar and cowboy test

add rebar and cowboy test
simple ajax demo

simple ajax demo
remove old router

remove  old  router
remove unused

remove unused
little change

remove unused
add an aviliable test for  other client

add an aviliable test for  other client
trap router exit

TODO trap keepalive exit
init ping
增加 get_online_ids 方法
Merge branch 'master' of github.com:zhangjiayin/ecomet
simple chat demo
add appid

add appid
add reltool to generate package and change all web app to use config, and change all server to loop3
update thrift client

update thrift client
add reltools

add reltools
change default config

change default config
change dir name

change dir name
add reltool support

add reltool support