[#6654] fix tracker stats, broken in [235614]
[#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
[#6652] don't use mktime() which assumes time tuple is local time