common: Enable log system

Use export LIBYAMI_LOG_LEVEL=log_level to set the control flag, export LIBYAMI_TRACE=log_file to set the file location

Signed-off-by: Tang Xin <xin.t.tang@intel.com>
file handle leak  if you call createVideoDecoder more than once.