Force CommandScheduler to not keep the JVM alive

Also fixes console tests and renames exit to cleanUp

Change-Id: Ib97273083fb7acfbc6fb209cc8b338dea5a0b884
3 files changed