test/llvm-test-suite*: Fix errors, copy logs to build directory, prepare to support the call of multiple SGE jobs.