LDEV-3338: Upgrade jdom from version 0.7 to 1.1.2 shipped with WildFly. There is a version 2.x available, but it has different API and it would have to be included as a separate library again.
LDEV-3275: Add missing dependencies. Update XStream to version 1.5.0, and its corresponding libraries. Reimplement LD attachment importing. Reimplement Content Repository credential check. Moja joda-time library to separate folder as it is not a part of XStream deployment anymore, but it is still needed in LAMS code.