Fix download report
Get logs from deleted records as well
Returns 304 http code if images are not modified
Remove unused table log_thumb
Do not log for thumbnails
Merge pull request #1188 from nlegoff/fixes

[3.8] Some improvements