Fix bug reported in defect #ericsson:2858 and request #ericsson:2162

Delete cross reference when an artifact link is removed.

Change-Id: Ia1b74669c55bf715cd547b5db018a3804040a844
Fix conflict with autoload
This is Tuleap 5.12.99.33