Make Varnish 4 a first-class template, add storage_type.

This will allow Varnish 3 or 4 to run in malloc mode.