Add dynamic support for cookies on varnish template

Allow for cookie names to be configured via an array so different projects can define their own custom cookies.