CLI fixes, documentation updates, delete log files

*Updated command-line invocation to look for core-site.xml output as first argument
*Updated documentation to reflect new command-line invocation
*Fixed finally to delete log files on REPL shutdown