Interim checkin of changes to cache clients to work with the 
version 3 metadata cache.

This checkin compiles and links but fails regression tests badly.