Updated manifestgeneratior library
Some sanity checks and try/catch to avoid exceptions
Use the configured module version when generating the manifest file