Add exitOnComplete Option to RobocodeMain.

This option makes the UI quit when the battle is over. This allows you
to wrap the UI into script playing battles.