Change to handleCommands

Changed Handlecommands to a switch statement and added methods for each
case.  Slight modifications to loop to handle scope issues.
Fix whitespace
Merge pull request #1 from benjamg/master

Fix whitespace
Merge branch 'master' of https://github.com/TehGimp/KerbalMultiPlayer
Merge pull request #169 from Wetmelon/master

Change to handleCommands