Fix global variable leakage
Add missing braces
Rm superfluous local vars, pass had_error to close event
Use strict equality (===)
Fix typo in comment
Merge pull request #552 from M2Ys4U/cleanup

Small cleanup of server/irc/connection.js
Fix regression due to 353d261
Merge pull request #554 from M2Ys4U/cleanup

Fix regression due to 353d261
Patching XSS vulnerability

The following message produces a clickable link that triggers JavaScript when clicked (pre-patch):
javascript://www.google.com/?%0Aalert(0);

Patch was designed to prevent this while maintaining support for arbitrary link protocols.
Merge pull request #555 from Pseudochu/development

Patching XSS vulnerability
Log errors on loading locales
Nicklist toggle button icon change
Network objects listening for IRC connection events only
Selected helper functions available via kiwi.utils
Correctly switching between polling/websockets
Extracting client user commands from application.js
Open proxy checker module
Proxy checker module: 5s timeout
Proxy checker comments
Merge remote-tracking branch 'origin/development' into persist_module

* origin/development:
  Proxy checker comments
  Proxy checker module: 5s timeout
  Open proxy checker module
  Extracting client user commands from application.js
  Correctly switching between polling/websockets
  Selected helper functions available via kiwi.utils
  Network objects listening for IRC connection events only
  Nicklist toggle button icon change
  Log errors on loading locales
  Patching XSS vulnerability
  Fix regression due to 353d261
  Fix typo in comment
  Use strict equality (===)
  Rm superfluous local vars, pass had_error to close event
  Add missing braces
  Fix global variable leakage

Conflicts:
	client/src/app.js