Create helper functions for initialization methods
Send init commands when connection is successful

Initialization commands are sent when we are sure that
the password has been accepted and that the init has been
processed by the weechat relay
Work around a WeeChat protocol inconvenience

Until WeeChat sends a confirmation for init we have to assume
that the commands will be received synchronously even though
they are sent asynchronously
Merge pull request #154 from torhve/better-string-decoding

Decode and encode array directly without for loop
Whitespace fixes, some {} blocks
Merge pull request #156 from lorenzhs/fixwhitespace

Whitespace fixes, some {} blocks
Set container to panel