change user cache to ehcache

Signed-off-by: wjh <scauwjh@gmail.com>
1.bugfix: offline message bug
2.finished using ehcache

Signed-off-by: wjh <scauwjh@gmail.com>
Merge branch 'master' of git@github.com:scauwjh/IM.git