Ensured that Python interpreter is initialized

Prevents crash on Windows

Change-Id: I0f1da6922f284f3332c2a5fdcd6e981ee52873e8
Added removal of DOS line-endings in Python code

Cribbed from vtkPythonInterpreter.cxx.

Change-Id: I2b8de47ce3f2e8d93e5c7cded3af0ea969445aad
Merge topic '14885_python_view_crash' into next

85602edf Added removal of DOS line-endings in Python code
b0b48e84 Ensured that Python interpreter is initialized