Provide yarn app id in the logging context

Details

Added support to pass in YARN application ID in the logging context. This can help in correlating the ID of the program run in CDAP to the ID of the corresponding YARN application, thereby facilitating better debugging.

Rank:

1|i005z3:

Description

Users often collect logs in a centralized search index, in these scenarios it is important to correlated between the yarn appid and cdap runid. To support this feature we should make the yarn app id available in the logging context