Backport source links from 3.x.

Existing links have been updated to use the new reST role.  In some
files, I have also made cosmetic changes to the header.
diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst
index 3e6d9f1..f462244 100644
--- a/Doc/library/shlex.rst
+++ b/Doc/library/shlex.rst
@@ -1,4 +1,3 @@
-
 :mod:`shlex` --- Simple lexical analysis
 ========================================
 
@@ -12,6 +11,11 @@
 
 .. versionadded:: 1.5.2
 
+**Source code:** :source:`Lib/shlex.py`
+
+--------------
+
+
 The :class:`shlex` class makes it easy to write lexical analyzers for simple
 syntaxes resembling that of the Unix shell.  This will often be useful for
 writing minilanguages, (for example, in run control files for Python