fixup! unbound: import cmake build system
cmake: set the project name
cmake: clean up EXTRA_LIBRARIES

pthread is handled by CMAKE_THREAD_LIBS_INIT while libdl isn't needed.
fixup! cmake: put each library into its own directory
fixup! cmake: put each test executable in its own directory