nanshe/nanshe_learner.py: Added support for redirecting the stdout and stderr of each block subprocess.
nanshe/nanshe_learner.py: Added support using drmaa for redirecting the stdout and stderr of each block subprocess.