Extract unittest specific cmake into separate unit to clean up the main CMakeLists.txt. fixes codership/wsrep-lib#231