Have importlib use the repr of a module name in error messages.

This makes it obvious that an import failed because of some extraneous
whitespace (e.g., a newline).

This is a partial fix for issue #8754.
diff --git a/Misc/NEWS b/Misc/NEWS
index a6ae16a..0dd8a3d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -84,6 +84,8 @@
 Library
 -------
 
+- Issue #8754: Have importlib use the repr of a module name in error messages.
+
 - Issue #11591: Prevent "import site" from modifying sys.path when python
   was started with -S.