CMake: Link shared druntime/Phobos libraries to m/pthread/dl.
Build druntime/test/shared tests when BUILD_SHARED_LIBS=ON.
Travis CI: Build unittest libraries in verbose mode to avoid silence timeout.