fix /ircnick
Merge branch 'master' of github.com:siosilvar/BungeeRelay into siosilvar-master
more changes to /ircnick that i should have caught
Merge branch 'siosilvar-master'

Conflicts:
	src/io/github/dead_i/bungeerelay/commands/IRCNickCommand.java
Merge branch 'master' of github.com:siosilvar/BungeeRelay into siosilvar-master
Merge branch 'siosilvar-master'

Conflicts:
	src/io/github/dead_i/bungeerelay/commands/IRCNickCommand.java
Fix error in argument reading.
Merge branch 'geppettodivacin-splitfix'
fixed formatting of IRCNick
fix ircnick
added ERROR detection -- does not currently work
Fix formatting

Do preliminary combat with code base.
- Add missing newlines at end of file
- Replace tabs with spaces to be consistant
- Add spaces where idiomatic
Reorder commands; require authentication

The commands were out of order in IRC.java leading to things like
having two sections that handled FJOIN! Additionally fix some formatting
here mostly "}else{" to "} else {".

Require that the other side authenticates before we let them send
commands other than CAPAB and SERVER. Previously we could skip
authentication entirely and still go on out merry way chatting.
Ensure UID is not in use after incrementUid

How else are we to support over 2 billion users?!?
Cleanup CAPAB CAPABILITIES code

- Don't recompute prefixModes every time we giveChannelModes
- Add comments to explain what all the split()s do
- Use ex which has already split on " " for us
- Start using variable names that are longer than a letter
  (I talked to the letter department; we got a discount on decent
  variable names!)
Correctly handle ERRORs

Actually close the socket and reconnect when we recieve and ERROR
instead of going on our merry way pretending nothing ever happened.
Rename mainUid to botUID and use SID

- Instead of sticking config.getString("server.id") everywhere use SID
- Use botUID which is more descriptive than mainUid
- Start currentUid at AAAAAB so we don't have to incrementUid first
  thing we do when we BURST
Correctly authenticate with remote server

- Don't send SERVER right after the remote CAPAB STARTs
- Only mark authenticated as true after the remote side presents the
  correct password. Recent developents in security have indicated the
  remote side should authenticate itself before we trust it.
- Reset authenticated to false on start so we don't assume the other
  side is authenticated when we reconnect.
Properly parse commands

- If the first character of the message is a colon, then a prefix is
  present and store it in sender.
- Replace the ex array with args which does not have the command
  changing places dependent on if a prefix is present.
- Alias args[0] to command.
- If a parameter starts with a colon, properly handle it by
  concatenating it with the remaining parameters and removing the colon.
Use else if where appropriate