Revert "Utilize BufferedCache in TreeRepository"

Change-Id: I3a2f3d5dc945ab5a94f17f0c7454ea576489ed0d
Merge "Revert "Utilize BufferedCache in TreeRepository"" into wmf/1.23wmf9