bug #5227 :   The 3d files generated by Actify aren't more taken into account

During the development of the support of the JCR to store the file metadata, the code for Actify support was accidentally removed. Restore this code and adapt it to the new attachment API (support of the JCR).

Don't forget to integrate this PR into 5.12.x and into master.