Add required require to the wiring file

So we don't 500.

Also, in development mode, the rails helpers do not correctly link to the edit_aaib_report_attachment_path -- add to_param on Attachment to resolve this.