Fix issues with attachments on tickets.  In the artifact viewer, do a
better job of detecting JPEG images from the content prefix.