Changed Paraview code to use new vtkSmartPyObject

Change-Id: I9f90b1e67fb7d1e1fc9d301d79592779695f1c09
Add python syntax highlighting

This commit adds python syntax highlighting to the pqPythonScriptEditor
and the QTextEdit used to put in code for the Python Programmable
filters.  The pqPythonSyntaxHighlighter class is added and can be
attached to arbitrary QTextEdits to give python syntax highlighting and
some useful code editing properties like automatically expanding tabs
and a fixed-width font.

Change-Id: I1b558cb434f4ffd417a178a3c804019719df19a7
Tab key inserts spaces in python cosole

This commit modifies the python console so that if the current line has
no text other than the prompt, then the tab key will insert 4 spaces
instead of bringing up the code completer.

Change-Id: I12bf30dec76edeca4fb0a625d036e9be428f52c4
Add a dialog for properties panel python scripts

This commit adds a widget that pops its contents out into a dialog.
This is used for the properties panel text fields that contain python
scripts for the Programmable Filter and Programmable Source.  A button
is added to pop the text area out into the dialog and bring it back.

Change-Id: I1cd39479859046e35f7cf5af41a017b47461213b
Merge topic 'python_syntax_highlighting' into next

83a4ab8d Add a dialog for properties panel python scripts
2b5029f1 Tab key inserts spaces in python cosole
9aa076a6 Add python syntax highlighting
98ea6706 Changed Paraview code to use new vtkSmartPyObject