Add cache and fpc prefix to magento configuarion

Add support for prefixes to be set for magento cache and
full page cache.