ISPN-5007 Enhance the distribution script to detect missing artifacts
ISPN-5008 7.0.x missing cachestore-remote and extended-statistics modules

Replace <fileset/> with <file/> to have the script fail when the source files are missing.
Fix missing cachestore-remote and extended-statistics modules.
Generate the component metadata file in the generated-resources directory, so that it doesn't force a recompile of the module every time.