Front attachment controller hook

New hook proposal : adding the ability to plug on attachments download
(for statistics, modifying the document to download, etc)