weechat-protocol.js: comment object and methods
weechat-protocol.js: stricter slicing and type checking
weechat-protocol.js: fix hash table parsing
weechat-protocol.js: add command formatting helper functions
weechat-protocol.js: add comments to formatting functions
Strip trailing slashes
weechat-protocol.js: file header: mention command formatting
weechat-protocol.js: factor common commands formatting code
Fix message time display
Merge pull request #13 from eepp/protocol-command-formatting-and-comments

Protocol command formatting and comments