vtkPythonAlgorithm: expose setting the number of ports

Change-Id: Ie0f186991469185605c25bd2a1e4fe0d18726479
vtkPythonAlgorithm: fill in the right tuple

Change-Id: I763dcf5dfcdd25b354579c17b1dedd6586d828cf