Clean up nginx client and setup

- Expanded purge & refresh tests and new expired test
- Remove cache TTL in proxy_cache_valid (as suggested by @ddeboer)
- Custom log for better debug
- Improve installing nginx for testing