YARN-1250. Generic history service should support application-acls. (Contributed by Zhijie Shen)
(cherry picked from commit 90a0c03f0a696d32e871a5da4560828edea8cfa9)
YARN-1250. Addendum
(cherry picked from commit 0e7d1dbf9ab732dd04dccaacbf273e9ac437eba5)