new command to kill the sbt server directly, and some test cleanups.

Review by @havocp