ibrcommon: Mark Thread::isFinalized() as inlined
ibrcommon: Moved JoinableThread::isRunning() to Thread class
ibrcommon: Add MutexInterface to Semaphore

This way the MutexLock accepts the Semaphore objects and can automatically release resources on destroy.
daemon: Use std::queue instead of std::list for event queuing