first iteration of a CMake file to build the shared test library

this is only a first version with remaining issues:
- currently only uses one of the files present in ./tests, as ./tests/PixTestSetVana.cc causes compiler errors.
- the shared library still depends on files from ./main.