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 'TestFactory_FiltersGeneral' into master

3ac4b2fb ENH: Convert tests to new testing framework