YARN-2179. [YARN-1492] Initial cache manager structure and context. (Chris Trezzo via kasha)