ImageCache: Add an expires header.

Allow browsers to cache generated images for a year.

Fixes [bug 4547].
Merge branch 'patches/bug4547' into devel

* patches/bug4547:
  ImageCache: Add an expires header.