[AS7-6731] Fixing an issue with JDR and the IBM jvm

Module dependency on xalan now uses services=import
Adding javadoc to various bits of the code
Fixes an issue where an error during sanitation causes
0 length files to be stored in the archive.