Fix / clean up bots and humans specifying team

Bots and humans specifying team and g_teamAutoJoin now use the same code to set team on server!

Fixed issue of humans joining team due to g_teamAutoJoin and then possibly switching teams because of UI's team command.