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.
Merge pull request #392 from NICTA/vicPerformance

Vic performance improvements.