Add comments.
Rename `resolveVendorFiles` to `normalizeVendorSection`. Refactor.
Fix/rename `hasVendorModule` to `hasBundledModule`.

Added check for client modules too.
Prevent multiple embedding of a same unbundled module.