add TeeHandler to log stdout/stderr in logging module

this TeeHandler will log stdout/stderr to logging modlue,
and will record all messages to a file

Signed-off-by: Gui Chen <gui.chen@intel.com>