lite-tr: Add allocator class

Adding allocator class and test to support it

Test: Tree-Hugger
Bug: 288291809
Change-Id: I7be7fb18f6ce53d38fe9e051d4accd5830d3b1de
4 files changed