1. fix bug in cmds.lua, shell's location;
2. fix socket lib missing in model.lua;
3. fix session keeping bug.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>