Adding caching headers to images and store generated thumbnails 

This will hopefully take some of the load on the server that on-the-fly processing puts. The caching header should also be used for CloudFront CDN setup so we have multiple layers of caching.