Caching improvements.

- Add Varnish config files.
- Use better cache-related headers to ensure browsers cache images locally.
Merge pull request #388 from NICTA/varnish

Caching improvements.