Rework CMake files

The status of the CMake implementation is explained on the wiki page:
https://github.com/pocoproject/poco/wiki/CMake-Status