Use stdint.h for types.
Need to provide some defaults for the config.h.cmake file.
Use current build directory for proper in-tree builds.
Build demos and tests only when BUILD_TESTING is defined.

It's a built-in CMake variable defined by CTest module, see
http://www.vtk.org/Wiki/CMake/Testing_With_CTest
Add option to build with system STL.
Build both shared and static libs.
More warnings found by clang - writable static strings deprecated.
Add regression test.

Crashes in ctest for some reason, while working fine manually. Check.