Fixed bug when checking if chat in getList should be bold or not

Previous code assumed the database to return a boolean object for boolean columns.
The database driver actually returns the string "t" or "f" instead.
Added -session option to specify session id for agent_chat test script
Merge branch 'master' of github.com:cention-adly/cention-chatserver