Added caching to S3 storages

Caching code from jezdez/django_compressor#100