Some changes and fixes

1. home grown memcache based google channel like implementation for chat
2. some tests added
converted text box as textarea in chatwindow