Added support for multiple proxy_cache_valid directives

This involved converting the proxy_cache_valid param to an array and updating the template to match.
I would cast this as an `Array()` in the event that someone passes in a string which is the expected behavior today. This will preserve backward compatibility while also allowing this change to come in.