Add CTests for all components

Add support for CTest to all CMake enabled components.
Usage:
`mkdir cmake_build && cd cmake_build`
`cmake -DENABLE_TESTS=On ..`
`make`
`make test`

Every components test is executed seperatly. The result of the test runs can be found under: `Testing/Temporary/LastTest.log`