Modify caching master and search cache to either expect the complete cache configuration in xml, or else to build
a basic working configuration programmatically if it is missing.