Add variable to set CAF path
Add tests for thread, mutex and cond var

These are at the moment implemented in CAF, but rely on the
RIOT tread and mutex implementation.