Vic performance improvements.

* Cache GetCapabilities results so opening categories doesn't take as long.
* Remove the "pragma: no-cache" header from proxied CKAN queries.
* Use the proxy for legend images so that they are cached.