Add some tests to find bugs

Seems to be in delayed_send, depending on wait_until form
condition_variable. On my system gdb has no debug sysmbols,
so I need to debug this somewhere else.
Merge branch 'topic/caf' of https://github.com/josephnoir/RIOT into topic/caf
some updates to newer implementations