updated command option validation for headless grader
added to grader.js a stub for file downloading