Merge pull request #24 from kaushikgandhi/master

Fix bugs related to handling PM.
Modularize client side chat codebase.
Breakup chat templates into small & managable parts.
Load chat log templates for a single room at a time.

Experimental.
Added namespace for client side data.
Refactor and cleanup code for chat connections component.
Don't store or use NickServ password for servers (for now).
Don't join to empty channelnames when adding new user server.
Drop 'edit channel' link for now.
Allow to join multiple server channels for '+ channel' menu option.

And don't allow setting channel password.
Fix display of server/channel connection status icon.
Autofocus in channel names field in channel join form.
Make server logs work properly with the new refactored code.
Move functions related to showing server PMs to pms.js.
Fix scrollbars and scrolling in chat logs.
Fixed displaying info-panel and handling pm create/delete.
Fix auto selecting newly created PM room.
Fix showing PM chat logs.
Moved code related to info panel from global chat.js

and related refactoring.
Fix sending chat messages.