Fix 304s for images

Images weren't sending 304 responses properly as mongo stores dates with full millisecond precision but the If-Modified-Since header is rounded to seconds.

Wow, that was fun to debug.