Cacheurl improvements - TS-1753

I've made a couple of improvements to the cacheurl plugin:

 * parameter to take a location for the config file
 * ability to be called as a remap plugin