YARN-2180. [YARN-1492] In-memory backing store for cache manager. (Chris Trezzo via kasha)

(cherry picked from commit 4f426fe2232ed90d8fdf8619fbdeae28d788b5c8)