fix compilation errors and cmake issues to be able to ctest
Merge pull request #1 from arnaudgelas/Fix

Fix compilation errors and cmake issues to be able to ctest. This takes advantage of new CMake features (option() vs set(... cache bool ...)) as well as migrates to VTK6 (SetInputData(), etc.).