split yarn apps to yarn apps queue and more generic yarn metric, imported resource manager state checks
added MB prefix for metrics if name ends in MB