Add jpeg mime type to cover attachment
Adapt cover caching implementation to paperclip
Finalize caching implementation