Added unified exit codes and keyboard interrupt handling (during grading)
Removed debugging print statement (oops)
Added graceful interrupt handling in batch mode

socrates will now wait to write a grade file until after all tests
have been completed.