Fix total_time counter in Select/Union nodes.

Change-Id: I9e4b83ecf240eaab455dbd857461ad3d4d7203cc
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5348
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5370
IMPALA-1349: Redirect stdout/stderr to INFO/ERROR log.

This patch adds a flag (on by default) to redirect stdout/stderr to INFO/ERROR
logs. Components we link (e.g., llvm, hdfs) log to stderr and having the logs
in one place is very helpful.

Change-Id: Ib29fddde5843311bfa099a70a0e8ba5d726c8bce
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5240
Tested-by: jenkins
Reviewed-by: Nong Li <nong@cloudera.com>
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5369