Exclude diff-associated FileAttachments from the resource list.

Review Request #4508 — Created Aug. 29, 2013 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Exclude diff-associated FileAttachments from the resource list.

FileAttachments associated with a FileDiff shouldn't be shown in the
list of a review request's file attachments. Exclude them from the list.
A future change will add proper API for setting and getting attachments
on a FileDiff.

Also, while here, I added the missing mimetype field.
Unit tests pass.