[CacheServiceDBClient] Add a cache for classes based on DB and DBTables.

Some tests were modified for these classes. So it no longer does
tests for the previous features. This no problem because we will
replace them with the modified version based on DBTables.