Issue #19728: add private ensurepip._uninstall CLI

MvL would like to be able to preserve CPython's existing clean
uninstall behaviour on Windows before enabling the pip
installation option by default.

This private CLI means running "python -m ensurepip._uninstall"
will remove pip and setuptools before proceeding with the rest
of the uninstallation process.

If the version of pip differs from the one bootstrapped by
CPython, then the uninstallation helper will leave it alone
(just like any other pip installed packages)
Issue #19726: actually running 'hg add' helps...
Issue #19728: don't be sensitive to line endings
Issue #19088: Fix incorrect caching of the copyreg module.

This fix does not cause any degradation in performance.
Issue #19088: Merge with 3.3.