BUG: Ensure extension wizard can find git executable provided by Git Bash

This commit explicit set the environment variable "GIT_PYTHON_GIT_EXECUTABLE"
to ensure GitPython finds and uses the git executable provided by Git Bash.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23481 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Properly serialize python paths when installing extension. Fixes #3772

Following r23036 environment variable specifying list of path were
handled differently. This commit ensures that python paths associated
with extension are also serialized into the settings by following the
new convention introduced in r23036.

For example, before this commit, after installing an extension named
"Foo", the settings contained:

// ----------------------
[Modules]
AdditionalPaths=/home/jchris/.config/NA-MIC/Extensions-23473/Foo/lib/Slicer-4.3/qt-scripted-modules

[...]

[EnvironmentVariables]
PYTHONPATH=/home/jchris/.config/NA-MIC/Extensions-23473/Foo/lib/Slicer-4.3/qt-scripted-modules
// ----------------------

whereas the following is now written:

// ----------------------
[Modules]
AdditionalPaths=/home/jchris/.config/NA-MIC/Extensions-23473/Foo/lib/Slicer-4.3/qt-scripted-modules

[...]

[PYTHONPATH]
1\path=/home/jchris/.config/NA-MIC/Extensions-23473/Foo/lib/Slicer-4.3/qt-scripted-modules
size=1
// ----------------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23482 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Update extension wizard error message to mention the correct function.
BUG: Update SlicerWizard ExtensionDescription to detect file encoding

This commits updates the ExtensionDescription to support encoding
detection when either a filepath or a repo parameter is passed.