[EAGLE-946] Refactor MRRunningJobApp & HadoopQueueApp

https://issues.apache.org/jira/browse/EAGLE-946

Since upgrading to HDP 2.7, the api of fetching the running app list in one request become very heavy. To tackle this issue, a new algorithm is introduced:

`if requests# <=1, fetch all running job list in one request; otherwise, divide last 6 hours into requests# slots, and fetch running jobs in each slot one by one`

Author: Zhao, Qingwen <qingwzhao@apache.org>

Closes #869 from qingwen220/EAGLE-946.
43 files changed