Fix for #1283: Validation of module descriptors imported via import-jar

Validate according to how the CMR would validate it. Errors in the file format result in
errors, while missing dependencies result in warnings.
Test for #1283: Validation of module descriptors imported via import-jar