Added timing support to MemoryCacheProvider, and added ProtobufMemoryCacheProvider and unit tessts.