YARN-2440. Enabled Nodemanagers to limit the aggregate cpu usage across all containers to a preconfigured limit. Contributed by Varun Vasudev.

(cherry picked from commit 4be95175cdb58ff12a27ab443d609d3b46da7bfa)