Merge pull request #14 from rohieb/master

scripts/linux-compile.sh: only make clean if Makefile actually exists
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
ibrcommon: Split getnpop() of the queue into take() and poll()
ibrdtn: Use take() and poll() methods of the queue instead of getnpop()
daemon: Use take() and poll() methods of the queue instead of getnpop()
ibrcommon: Remove dead code of Queue and make empty() and size() const
ibrcommon: Fix queue limitation handling when using exclusive locking
ibrcommon: Add comparison operator to refcnt_ptr and remove getPointer() methods
ibrcommon: down() method of refcnt_ptr restructured
ibrdtn: Get rid of refcnt_ptr::getPointer() usage
daemon: Get rid of refcnt_ptr::getPointer() usage
ibrcommon: Fix push() method of exclusive queue access
ibrcommon: Usage of RWMutex / RWLock simplyfied

If an RWMutex is locked using a MutexLock, a read-only lock is acquired. If
the RWLock is used the read-write lock is set.
daemon: Use new RWMutex pattern
daemon: Remove className variable from all events
ibrcommon: Workaround for netlink 3.2.21 library
daemon: Add comments to Event class