[#6650] continue past invalid google code attachments

Convert one of the test attachment links to an invalid one, refactor
shared attachment handling code between comments and issue
4 files changed