Make Nginx cache dir optional

* Make Nginx resemble Varnish more closely by having a default cache temp dir
* Remove it from phpunit.xml.dist
* Also make $purgeLocation string to solve issue reported by Scrutinizer