ENH: Convert tests to new testing framework

Converted tests to use the vtkTestingObjectFactory.
1) The explicit regression testing was removed from each test.
2) Error tolerance can be specified on the add_test command.

A number of style issues were also addressed:

1) Converted cout, cerr, endl to std::cout, std::cerr, std::endl.
2) Where appropriate used SmartPointer's.
3) Replaced "return 0/1" with "return EXIT_SUCCESS/EXIT_FAILURE"

Change-Id: If0fcd3ce3d849cf17e239ac9f7a7788adbe93a46
Merge topic 'faster_extrac_piece' into master

9509182d Algorithm doesn't apply ghost levels when not needed now.
Merge branch 'upstream-kwsys' into update-kwsys

Change-Id: Ia81caed23f5b06bbc80bf3f119dcaf22aa846446
Merge topic 'update-kwsys' into master

057dded2 Merge branch 'upstream-kwsys' into update-kwsys
3884678c KWSys 2013-01-31 (5b0d1bd9)
COMP: Python tests missing -D argument

These python tests are missing the -D argument. The macros
add_test_python and add_test_python1 only generate the -D argument if
a second argument is provided to the macro. Usually, the second
argment is the regression baseline directory. Although these tests do
not have a baseline inage, they do require access to VTK_DATA_ROOT.

This patch adds a second argument to the macro, which causes the
python test macros to generate a proper -D argument for the test.

NOTE: The content of the argument is not used. Its presence alone
causes the macros to generate a proper -D argument for the test.

Change-Id: Iec5ccf52a8124212bddb1cfc4cac0f43f6d0f5d8
COMP: Tests that require numpy should warn if numpy is missing

Python tests that use require numpy should warn and not fail if numpy
is missing.

Change-Id: I99def5001c2a000276f4164f3bcc8fed1d309587
COMP: ResetCameraClippingPlanes after manual camera setup

It is good practice to ResetCameraClippingPlanes after manually
specifying camera parameters. This test was failing on some platforms
before the patch.

Change-Id: Id6f14a0cbd4051e968d74c95043ef5b1ea1895c2
Merge topic 'NumpyPythonTests' into master

29b6a7f3 COMP: Tests that require numpy should warn if numpy is missing
Merge topic 'BadPythonTestConfig' into master

808ad105 COMP: Python tests missing -D argument
Replace vtkFreeType(Tools|Utilities) with vtkTextRenderer.

This patch replaces most of the remaining calls to the vtkFreeType
text rendering classes with equivalents that go through the
vtkTextRenderer layer. Most of these were used to calculate bounding
boxes for text actors, which would be incorrect if the text actor was
rendering math text.

Also removed a few unneeded headers and mentions of vtkFreeType.

Change-Id: Iddf7d84dbf46c30774baf96d32edd07b6da77031
Merge topic 'FailingTest_TestGL2PSTextActor3D' into master

16ba96fa COMP: ResetCameraClippingPlanes after manual camera setup
Merge topic '13484-MathTextPdfExport' into master

3b3130eb Replace vtkFreeType(Tools|Utilities) with vtkTextRenderer.
BUG: TestRenderView fails on some X platforms

TestRenderView fails on some platforms, reporting:
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)

This patch changes the test to use the newer testing framework and
seems to fix the problem.

Change-Id: I7e85c2da6235c4bb7787659b8d9bc3681ea4b7a9
Fixed OSMesa render window leak.

vtkOSOpenGLRenderWindow was not destroying the OpenGL context when
deleted. Fixed.

Change-Id: I7ad2e9abd7a657ed2c9918d53006cd991098cdbc
Merge topic 'TestFactory_FiltersGeneral' into master

3ac4b2fb ENH: Convert tests to new testing framework
Merge topic 'Fails_TestRenderView' into master

83b0306f BUG: TestRenderView fails on some X platforms
Fix the tcl-to-python conversion for a few tests.

Note that TestTransformInterpolator.py is still failing, as is the
TestTransformInterpolator.tcl script it was converted from.  It will
have to be determined what has changed in VTK 6 that causes this test
to fail.

Change-Id: I272804d77117f902003af814ca8bf10be0282d9e
Regenerate meshQuality.py from the more complete meshQuality.cxx

Change-Id: I54388b3d367ac9ef3778442d3cf33c111f21c948
Merge topic 'python-test-syntax' into master

e47635fa Regenerate meshQuality.py from the more complete meshQuality.cxx
a2dea487 Fix the tcl-to-python conversion for a few tests.
Merge topic 'clang-Wdocumentation-fixes' into master

0f9b3d07 COMP: fixed warnings issued by clang's -Wdocumentation