Merge pull request #375 from Person8880/develop

Build 267 update
Merge pull request #376 from GhoulofGSG9/develop

This should have been fixed with 267
Team balancing improvements

Everyone believes the new skill system will be their saviour, so we'll
use it when assigning a player to a team to try and join them on the
team they can help the most.

Also, players can now switch teams if there's a team imbalance even if
block teams is set.
Change the team join message to reflect the method
Better name for the hive skill sort
Only allow switching from the larger team
Fix notifications ending up inside messages

Apparently the chat's behaviour has changed meaning we can no longer
have a message that's just spaces.
Use the number of players with skill as the count

More consistent this way.
Account for 0 count

I don't know if it's possible, but just in case.
Merge pull request #378 from Person8880/develop

Small 267 fixes
Remove click delay on side buttons

and only check the delay if it's > 0.
Handle chatbox errors more gracefully
We also need to empty this

Seeing as all the objects inside are no longer valid.
Command improvements

- Fixed getting an error when running from the server console causing
the error to be printed to everyone on the server instead of the
console.
- Running a command with no arguments which expects them will now show
the help text for that command.
Small cleanup of stuff
Send the OS with an error report

Just curious to know if certain strange errors are related to a certain
OS (e.g probably Linux).
Add hook name and index to error reports
Better handled sh_luarun

Catches its own errors and tells the client who ran it about them as
well as the server console.
Fix PrintTable and table.ToString infinite looping

when trying to print a table that contains itself.

Also added table.ToDebugString, which outputs the top level of key,
values only.
Improved hook and SGUI error reports

They now show which event has errored, and display all local values from
the function that caused the error.