Linkify IRC channels

Make '#foo' in a message or buffer title clickable, taking the user to the IRC
channel specified, joining it if necessary.
Remove black background on own chat lines

I've had this in my deployment config for a while, I hope you guys agree that it looks much nicer
switchToActivityBuffer: Prioritise notifications

If there is a buffer with a notification, go there. Otherwise, go to one with unread lines.
Fix JS coding style

TODO: rebase this as a fixup. I don't think the github web interface supports that.
Merge pull request #150 from lorenzhs/patch-2

switchToActivityBuffer: Prioritise notifications
Merge pull request #149 from lorenzhs/patch-1

Remove black background on own chat lines
Merge pull request #144 from lorenzhs/linkify

Linkify IRC channels
Add missing keyboard shortcuts on landing page
Fixes #80
IRC linky: don't match HTML encoded chars (&#41;, &gt;, etc.)
Merge pull request #153 from lorenzhs/fixirclinks

IRC linky: don't match HTML encoded chars (&#41;, &gt;, etc.)
Collapse sidebar with css selector
Fixes #152
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 remote-tracking branch 'upstream/master'

Conflicts:
	css/style.css

merge