Fixes for thumbnail_class and S3 storage

When you specify a thumbnail_class and are using AWS S3 as the storage point, the thumbnails will not be processed and saved. This is because unlike the file system storage point, the S3 storage point had no code to recognize the thumbnail_class. This is fixed with the following changes.